I'm developing Win8 app with TypeScript.
To compile my typescript code, I added winrt.d.ts and winjs.d.ts then referenced them
using:
<reference path="winrt.d.ts" static="true" />
<reference path="winjs.d.ts" static="true" />
Compile & build succeeded but IDE's intelliSense was being very slow. I simply opened winrt.d.ts and checked the file. The file has 18,770 lines which is really huge file to compile on the fly.
Are there any options or methods to reference those huge definition file without compile again just like lib.d.ts?
This slowness seriously hurts my TypeScript selection.
UPDATED:
On the current compiler version (0.8.0), there is no solution. Hope to see best performance gain in near future release.
UPDATED:
Here is my simply hack to boost dev. performance.
I simply created winrt.compact.d.ts.
Then copy only part of namespaces which are actually used
and save the file.
Fortunately the file(winrt.d.ts) looks like being generated
from several declaration files. So each namespace is
clearly separated from others.
It is much easier to make compact version for WinRT.