ecmascript 6 - import statement is not working in typescript -


i imported class in typescript file. same import statement generated in js file also. when run application in browser, import statement throwing error "uncaught syntaxerror: unexpected token import". please me resolve issue.

you must use browserify or webpack handle module loading/bundling.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -