@oracle/netsuite-uif-types
v8.0.0
Published
NetSuite UI Framework TypeScript type declarations
Downloads
1,748
Readme
NetSuite UI Framework TypeScript Type Declarations
This package provides TypeScript type declarations for the NetSuite UI Framework (UIF). Type declarations describe the classes, methods, properties, and other APIs included in the framework. Type declarations allow the TypeScript compiler to validate the usage of these APIs and provide you with a rich IntelliSense experience in various IDEs.
Prerequisites
You will need a SuiteApp project in TypeScript using the NetSuite UI Framework.
Versioning
The NetSuite UI Framework and its TypeScript type declarations follow a versioning scheme where a new major version is released every 6 months. These major versions correspond to NetSuite versions as shown in the following table.
| Version in NPM | NetSuite Version | |:--------------:|:----------------:| | 5.0.X | 2024.1 | | 6.0.X | 2024.2 | | 7.0.X | 2025.1 | | 8.0.X | 2025.2 |
Installation
To use the NetSuite UI Framework TypeScript type declarations, follow these steps:
- Add the
@oracle/netsuite-uif-typesdependency todevDependenciesin yourpackage.jsonand specify an appropriate version based on the NetSuite version you will be developing against. Make sure that atypescriptdependency is included as well.
"devDependencies": {
"@oracle/netsuite-uif-types": "^8.0.0",
"typescript": "^5.2.0"
}- Open your
tsconfig.jsonand include@oracle/netsuite-uif-typesas an additional type root.
"compilerOptions": {
"typeRoots": {
"node_modules/@types",
"node_modules/@oracle/netsuite-uif-types"
}
}- Install the new dependencies.
npm iContributing
This project is not currently accepting external contributions. For bugs or enhancement requests, please file a GitHub issue. If you think you’ve found a security vulnerability, do not raise a GitHub issue and follow the instructions in our security policy.
License
Copyright (c) 2024 Oracle and/or its affiliates The Universal Permissive License (UPL), Version 1.0.
