https://github.com/tommasongr/nova-types
Types and documentation for the Nova extensions API. Delivered through a Nova extension...
https://github.com/tommasongr/nova-types
Last synced: about 2 months ago
JSON representation
Types and documentation for the Nova extensions API. Delivered through a Nova extension...
- Host: GitHub
- URL: https://github.com/tommasongr/nova-types
- Owner: tommasongr
- Created: 2022-12-28T10:34:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T08:36:19.000Z (about 2 years ago)
- Last Synced: 2025-02-07T06:14:28.700Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 954 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
**Nova Types** provides a types declaration for the **Nova API** up-to-date with `v10.6`. Future declaration updates will be delivered through this extension.

## Requirements
### TypeScript
Even if you can continue to write your Nova extensions in pure JavaScript, Nova Types relies on TypeScript to provide types suggestions. Therefore, make sure to have a TypeScript extension installed as well.
Nova Types has been tested with the following TypeScript extension:
- [TypeScript](nova://extension/?id=apexskier.typescript&name=TypeScript) by Cameron Little
## Usage
To generate Nova Types:
- Select the **Extensions → Nova Types → Generate Types Declaration** menu item; or
- Open the command palette and type `Generate Types Declaration`> Unless you specify otherwise, Nova Types will **check for updates** any time you open a local project with a previously generated types declaration.
### Configuration
Types definition will be generated in a `/Scripts/types/` folder of your project by default.
You can change this location and other options on a per-project basis in **Project → Project Settings → Nova Types**
## Improving the experience
To get the most out of Nova Types it's highly recommend to add a `jsconfig.json` file with the following configuration to the project:
```json
{
"compilerOptions": {
"checkJs": true
}
}
```