dojo / cli-test-intern

:rocket: Dojo - cli command for testing applications
http://dojo.io
Other
2 stars 19 forks source link

Upgrade Typescript to 3.8.x #158

Closed xiaohulu closed 4 years ago

xiaohulu commented 4 years ago

Bug

@agubler @dojo/framework upgrade typescript to 3.8.x,but @dojo/cli-test-intern use typescript 3.4.5

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

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)