You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Numeric separators (e.g. 10_000_000) are supported in TypeScript since version 2.7. It's still an ES (stage 3) proposal, therefore it doesn't get transpiled by Babel. So you get errors like the following.
./src/FrontEnd/App.tsx
SyntaxError: ....\App.tsx: Identifier directly after number (17:14)
15 | import { reduxStore } from "./ReduxStore";
16 |
> 17 | console.log(10_000_000);
Activity
[-]Numeric separators not supported in TypeScript[/-][+]Numeric separators not supported in TS files[/+][-]Numeric separators not supported in TS files[/-][+]TypeScript: Support numeric separators[/+]tharun208 commentedon Oct 16, 2019
Added fix in this pull Request #7817