-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Description
Using the tsconfing.json
provided in the documentation:
{
"compilerOptions": {
"module": "amd",
"target": "es5",
"moduleResolution": "node",
"sourceMap": false,
"newLine": "LF",
"experimentalDecorators": true,
"noImplicitUseStrict": true,
"baseUrl": ".",
"lib": ["es5", "es2015.promise", "dom"],
"paths": {
"N": ["node_modules/@hitc/netsuite-types/N"],
"N/*": ["node_modules/@hitc/netsuite-types/N/*"]
}
},
"exclude": ["node_modules"]
}
I get the following error:
node_modules/typescript/lib/lib.es2015.promise.d.ts(129,21): error TS2304: Cannot find name 'Iterable'.
This is resolved after I add 'es6' to the 'lib' list:
...
"lib": ["es5", "es6", "es2015.promise", "dom"],
...
I am not sure, if this would be fine with SuiteScript. I will update if I run into some issues.
Metadata
Metadata
Assignees
Labels
No labels