Skip to content

meo-js/types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@meojs/types

Some useful TypeScript types.


English | 简体中文

Introduction

npm i @meojs/types

All 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/env type 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 run publish:version to push a new version.

License

MIT @ SmallMain

About

Some useful TypeScript types.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors