Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

it can't see node modules #128

Open alexbe opened 6 years ago

alexbe commented 6 years ago

The plugin can't see node's modules, so if there are statements like these:

import * as fs from 'fs'; or import { EventEmitter } from 'events';

inside *.d.ts files, it gives red error signes

Rycochet commented 6 years ago

Sounds like you've not got the tsconfig.json file setup correctly for the project - this just reports what TS itself reports...