mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
13748f235a
* add docs for animation * update tsconfig.json * fix bug
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
const { generate } = require('./generate-declarations');
|
|
|
|
generate({
|
|
outDir: './bin/.declarations',
|
|
}).then((successed) => {
|
|
if (successed) {
|
|
console.log(`Successed.`);
|
|
} else {
|
|
console.error(`Failed to generate declaration files.`);
|
|
}
|
|
}); |