Update swig.d.ts

Added function renderFile