对 输入npm run compile
error TS2318: Cannot find global type ‘CallableFunction’.
error TS2318: Cannot find global type ‘NewableFunction’.
Found 2 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] compile: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zhangxiaolong/.npm/_logs/2019-01-11T07_20_07_330Z-debug.log