I noticed that using /// <reference path="*.js"> doesn't work. I don't understand why.
Just a clarification: I KNOW about d.ts files, and I know what value is added by creating them to decorate a js file - they allow me to enjoy type-safety even when using an external library which wasn't written in typescript.
What I don't understand is why I still have to write a d.ts file even if I'm willing to forgoe type-safety.
Let's assume, for example, that I have a big JS file I have written, which contains many function definitions. These functions have names and lists of parameters. Can't the TS compiler automatically 'declare' those functions for usage? It would be a temporary solution, but it would facilitate migrating to TypeScript so much!
Is there a reason I'm missing that this is not possible, or is it just an unimplemented feature?