You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't manage to get this to work in my project. I downloaded the TypeScript 0.8 (minified JS) and the TypeScript Compile 0.3 (minified JS) files and added these two at the end of the HTML body. Together with my added TypeScript file the end of the body looks like this:
The references to the files are correct.
But when I open the HTML I still get the following error in my console:
Uncaught SyntaxError: Unexpected token '.'
at compile (typescript.compile.min.js:16:20629)
at typescript.compile.min.js:16:20645
at typescript.compile.min.js:16:20656
The text was updated successfully, but these errors were encountered:
I can't manage to get this to work in my project. I downloaded the TypeScript 0.8 (minified JS) and the TypeScript Compile 0.3 (minified JS) files and added these two at the end of the HTML body. Together with my added TypeScript file the end of the body looks like this:
<script type="text/typescript" src="../src/colorSwitcher.ts"></script>
<script type="text/javascript" src="../typescript.min.js"></script>
<script type="text/javascript" src="../typescript.compile.min.js"></script>
</body>
The references to the files are correct.
But when I open the HTML I still get the following error in my console:
Uncaught SyntaxError: Unexpected token '.'
at compile (typescript.compile.min.js:16:20629)
at typescript.compile.min.js:16:20645
at typescript.compile.min.js:16:20656
The text was updated successfully, but these errors were encountered: