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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -