eclipse-typescript icon indicating copy to clipboard operation
eclipse-typescript copied to clipboard

Can provide options to ignore such errors:Cannot find module 'xxxx'

Open niss2000 opened this issue 8 years ago • 1 comments

Can provide options to ignore such errors:Cannot find module 'xxxx'

I need to load js(AMD mode) from server,for example: import * as Input from 'load?view=input.js'; import * as Button from 'load?view=button.js'

niss2000 avatar Feb 07 '17 12:02 niss2000

thats the compiler.

I would use a xxx.d.ts, and load the module Asynchronously with your loader. (Eg: require('', ('load?view=input.js') => {})).

Rouche avatar Feb 07 '17 13:02 Rouche