增加cc的定义

This commit is contained in:
zhl 2020-12-25 14:47:51 +08:00
parent 6704f6568d
commit c945f1cea1
2 changed files with 11 additions and 0 deletions

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# 使用方法
```bash
npm install git+http://git.kingsome.cn/zhanghongliang/jcfw.git
```

6
src/cocos-creator.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
import { JCFW } from "./jcfw";
declare namespace cc {
export type jc = JCFW;
export type gg = {};
}