Error: TS2318 using TypeScript in WebStorm

Using Webstorm 10.0.4, when opening an new/empty TypeScript file (just the template commentary in the source),
the TypeScript compiler shows the following Project Errors.

Error:TS2318: Cannot find global type 'Array'.

Error:TS2318: Cannot find global type 'Boolean'.

Error:TS2318: Cannot find global type 'Function'.

Error:TS2318: Cannot find global type 'IArguments'.

Error:TS2318: Cannot find global type 'Number'.

Error:TS2318: Cannot find global type 'Object'.

Error:TS2318: Cannot find global type 'RegExp'.

Error:TS2318: Cannot find global type 'String'.

Any idea why there are there, what I might be missing, or how they might be suppressed?

See *attached* file.

I'm a new user and the only item I found regarding this was here:
https://github.com/jbrantly/ts-loader/issues/19

-- Gregory



Attachment(s):
TS2318 error.png
1 comment
Comment actions Permalink

Please can you attach a screenshot of your WebStorm TypeScript compiler settings? Your idea.log might be also helpful

0

Please sign in to leave a comment.