@web-lite/api-types
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Changelog | ||
## [v1.0.1](https://github.com/weblite-wapps/api-types/tree/v1.0.1) (2021-03-27) | ||
[Full Changelog](https://github.com/weblite-wapps/api-types/compare/v1.0.0...v1.0.1) | ||
## [v1.0.0](https://github.com/weblite-wapps/api-types/tree/v1.0.0) (2021-03-27) | ||
@@ -4,0 +8,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"author": "Weblite Team", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Use W with type checking and docs out of the box.", | ||
@@ -9,0 +9,0 @@ "license": "BSD2", |
@@ -26,4 +26,15 @@ # api-types | ||
**javascript** | ||
For javascript application you must give your fate to vscode and its [intellisense](https://code.visualstudio.com/docs/editor/intellisense) | ||
- webstorm | ||
Webstorm indexing will find and use the type for W, no additioanl setup is needed | ||
- vscode | ||
Add a reference to the typed file at heading when you want to use `W` APIs. VSCode will use its [intellisense](https://code.visualstudio.com/docs/editor/intellisense) to suggest docs and auto-complete. | ||
```js | ||
/// <reference path="node_modules/@web-lite/api-types/index.d.ts" /> | ||
``` | ||
> `Note:` You may need to change the path of `node_modules` directory in workspace-configured projects. | ||
**Note**: You can still use mocks.api |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17697
40