@meojs/types
v1.0.1
Published
Some useful TypeScript types.
Downloads
5
Readme
Introduction
npm i @meojs/typesAll type definitions can be used by adding the corresponding path to the compilerOptions.types field array in your project's tsconfig.json file:
{
"compilerOptions": {
"types": [
"@meojs/types/xxx",
]
}
}Cocos Creator Types
Although the official provides the type package @cocos/creator-types, there are the following issues:
- Not updated in a timely manner.
- Missing
cc/envtype file.
Import path list:
- v3.8.5
@meojs/types/cocos-creator/3.8.5/editor@meojs/types/cocos-creator/3.8.5/engine
Contributing
- Run
npm version patch && npm publishto push a new version.
