Update swig.d.ts

Added function renderFile
Update swig.d.ts
Merge pull request #2566 from damianog/patch-11

Update swig.d.ts