typescript-suitescript-1.0
v1.0.2
Published
TypeScript declarations for SuiteScript 1.0 globals
Downloads
67
Readme
Campbell Galon, Zone and Co, 2023-01-01 adapted and improved from existing versions by Darren Hill and others
This package contains useful TS typing for SuiteScript 1.0 globals, such as the nlobjSearchFilter class, the nlapiLogExecution function and similar. Include this package as a dependency in your package.json to require the typings.
The typings still have some room for improvement in the sense that certain functions have a return type of "any" when a typedef could be used to specify more precisely what is coming back. However, due to the difference in return values in different NetSuite account types and versions, I have chosen to leave the types as "any" here. Forks are possible.