powo-v3-typings
v3.2.6
Published
https://www.npmjs.com/package/powo-v3-typings
Downloads
295
Readme
POWO V3 Typings repository
https://www.npmjs.com/package/powo-v3-typings
How to use
Last version
yarn add powo-v3-typings
Specific version
yarn add [email protected]
Work with local version
First start powo-cli with :
yarn start
After that, add typings to your local project with :
yarn add link:../powo-v3-typings
Example of use in TS file :
import { AreaUpdateRequestI, AreaUpdateResponseI } from 'powo-v3-typings';
const area: AreaUpdateRequestI = ...
How to edit
add/updates ts files into ./api folder
To enable export visibility of a new file definition, add it into index.ts
...
export * from './api/area/update/response';
...
watch all files and on changes : transpile local version from /api src folder to /dist
yarn start
Publish a new version
execute:
yarn publish-package X.Y.Z && npm publish