mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update the .travis.yml to npm pack the tns-platform-declarations, add lib: [] config in the tsconfig.json
This commit is contained in:
@@ -82,10 +82,10 @@ tns run android --path tests
|
||||
```
|
||||
|
||||
## Platform declarations
|
||||
To update the platform declarations you can run:
|
||||
To update the platform declarations (the ios.d.ts-es) you can run:
|
||||
```
|
||||
npm install
|
||||
npm run dev-declarations
|
||||
```
|
||||
This script will update the iOS declarations. Android tools are not integrated yet.
|
||||
The declarations are generated from the test app and will include the native code from tns-core-modules-widgets.
|
||||
The declarations are generated from the test app and will include the native code from tns-core-modules-widgets.
|
||||
|
||||
Reference in New Issue
Block a user