Updated transformers.ts

Removed `.d` extension from import variable and require path when using `///ts:import` for definition files.