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
IIRC, VS Code doesn't use the workspace version until you opt into it - but either way, your team might be using a local workspace version of 4.9 while you are trying to upgrade to 5.0.
IIRC, VS Code doesn't use the workspace version until you opt into it
Yeah, by default VS Code uses whatever TypeScript version it ships with (currently 4.9). This is a security feature, because the locally installed TypeScript version could potentially be malicious code.
ignoreDeprecationsin TS 4.9#51909
importsNotUsedAsValuesandpreserveValueImportsare deprecated in favor ofverbatimModuleSyntaxignoreDeprecationsflag to temporarily disable this as you migrate off the flags.tsconfig.jsonthat works for both 4.9 and 5.0.ignoreDeprecationsback to 4.9Moving from barrel imports in our codebase
#51455
#51590
(ts as any).Yaddafor preserved const enums.Import Sorting
#52090
hasDecoratorsandHasDecorators, the two might flip.eslint/sort-imports.toUppercase, we didtoLowercasefor case insensitivity._)Intl.Collatorto do sorting if desired.eslint-plugin-simple-import-sort.