Closed xiaohulu closed 4 years ago
Bug
@agubler @dojo/framework upgrade typescript to 3.8.x,but @dojo/cli-test-intern use typescript 3.4.5
@dojo/framework
@dojo/cli-test-intern
Package Version: 7.0.0
Code
const color = mainWindow?.navigationBarBackgroundColor??"#000000";
When run npm run dev, build success; but when run npm run test, throw errors
npm run dev
npm run test
TSError: ⨯ Unable to compile TypeScript src\app\index.tsx (21,34): Expression expected. (1109) src\app\index.tsx (21,64): Expression expected. (1109) src\app\index.tsx (21,74): ':' expected. (1005)
Bug
@agubler
@dojo/framework
upgrade typescript to 3.8.x,but@dojo/cli-test-intern
use typescript 3.4.5Package Version: 7.0.0
Code
When run
npm run dev
, build success; but when runnpm run test
, throw errors