ericbirdsall
06/01/2020, 2:55 PMstalbert
06/01/2020, 3:17 PMstalbert
06/01/2020, 3:18 PMtsconfig.json
that's described in that repo?stalbert
06/01/2020, 3:18 PMstalbert
06/01/2020, 3:21 PMjson
{
"compilerOptions": {
"allowJs": true,
"strictNullChecks": true,
"module": "umd",
"moduleResolution": "node",
"target": "ES2018",
"sourceMap": false,
"newLine": "LF",
"experimentalDecorators": true,
"baseUrl": ".",
"lib":["es2018", "dom"],
// skip to workaround a lodash.d.ts error TS2428: All declarations of 'WeakMap' must have identical type parameters.
//"skipLibCheck": true,
"paths": {
"N/*": [
"node_modules/@hitc/netsuite-types/N/*"
]
}
},
"exclude":["node_modules", "__mocks__"]
}
stalbert
06/01/2020, 3:21 PMstalbert
06/01/2020, 3:23 PMtsc
on individual files. just run tsc
without additional arguments from the folder with your tsconfig.json
stalbert
06/01/2020, 3:24 PMericbirdsall
06/01/2020, 3:30 PMericbirdsall
06/01/2020, 3:30 PMericbirdsall
06/01/2020, 3:30 PMericbirdsall
06/01/2020, 4:02 PMstalbert
06/01/2020, 4:47 PM