I have this very simple typescript file:
export default const VERSION: number = 2016030600;
Then I run:
tsc version.ts
typescript compiler (Version 1.8.7, OS X) complains:
version.ts(1,16): error TS1109: Expression expected.
How can I fix this error? Thank you.
Do your VERSION
assignment as a separate statement:
const VERSION: number = 2016030600;
export default VERSION;
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments