Czy to możliwe, aby korzystać z bibliotek JavaScript w maszynie?
Na przykład chcę użyć Raphael w maszynopisie i dodane pliki JS w moim /scripts folderi dodaje im _references.js.
Ale gdy chcę zadeklarować w moim pliku TS:
var r = Raphael(10,50,640,480);
Intellisense zawsze mówi:
Raphael does not exist in the current scope.
a plik TS nie kompiluje.













