Devin Rhode
Devin Rhode
Probably we should just move away from using enums... this is not even a type-error: `SL` has type `string`
I tried a different google search "typescript get union of values of an enum" and found https://stackoverflow.com/questions/52393730/typescript-string-literal-union-type-from-enum So now I can get `"0" | "1" | "2" | "3" |...
I'm trying to avoid patching applicationinsights src, but it's becoming nonsense: ```ts // Ideally: SeverityLevel is not an enum, see: https://github.com/microsoft/ApplicationInsights-node.js/issues/942 type SeverityLevelEnum = import('applicationinsights').Contracts.SeverityLevel // "typescript get union of...
This is what I'm going with for now: ```ts // Ideally: SeverityLevel is not an enum, see: https://github.com/microsoft/ApplicationInsights-node.js/issues/942 export type strictAiSeverityLevel = | 0 | 1 | 2 | 3...
@koistya , other than this, how has the switch to yarn v4 been overall? Have you deployed your v4 upgrade to prod?
Seems like yarn v4 is still very much a wip https://github.com/yarnpkg/berry/issues/3591
Doing just `npm install ember-cli-version-checker --save-dev` seems to work around the issue.
So I tried optimization.noEmitOnErrors, but optimization is not a valid configuration key for webpack _THREE_ - so I renamed the plugin from: ``` plugins: [ new webpack.NoErrorsPlugin(), ``` to: ```...
There was a thread somewhere (I believe this extension) regarding this exact topic, but I remember it being a much larger/longer thread....
Ok, found this, but still doesn't feel like the thread I remember: https://github.com/streetsidesoftware/vscode-spell-checker/issues/529