We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the tsconfing.json provided in the documentation:
tsconfing.json
{ "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.
The text was updated successfully, but these errors were encountered:
This is from a bug introduced in recent versions of TS
Workaround is to add es2015.iterable to lib
microsoft/TypeScript#31722
Sorry, something went wrong.
This resolved it. Thanks
No branches or pull requests
Using the
tsconfing.json
provided in the documentation:I get the following error:
This is resolved after I add 'es6' to the 'lib' list:
I am not sure, if this would be fine with SuiteScript. I will update if I run into some issues.
The text was updated successfully, but these errors were encountered: