DetachHead

Results 929 comments of DetachHead

minimized comment, off topic this also causes two even more severe issues: # compile errors when trying to import another svelte component ```svelte import Foo from './Foo.svelte' // svelte file...

yeah i can't reproduce that anymore updating to typescript 5, must've been the same issue as #612 however the issue in the OP still occurs

failed attempt: ```ts export const safeVariance = ( type: Type, ): SafeVarianceConstructor => type as SafeVarianceConstructor // this doesn't work because it needs to know how many generics the constructor...

`BaseModel`s with `{"extra": "forbid"}` do not have this issue: ```py class Foo(BaseModel): # no error model_config = ConfigDict(extra="forbid") ``` however, the mypy plugin does not seem to work when the...

> Is it really useful? Is it worth to spend time implementing? These are other questions. i can't really think of a use case where you'd want to explicitly specify...

to address some of the points mentioned in that discussion: - i think many of the issues people have with it can be easily solved by explicitly widening/narrowing the type:...

> Would you agree that vscode-jest satisfies both sides? do you mean how it runs the tests on each change? idk, i often turn that off because it can be...