DetachHead
DetachHead
@OJFord that works for me. could you share some more info like your eslint config or maybe some of the surrounding code?
i tried extending the `String` interface to add this but no luck since the base `String` interface doesn't use a generic ```ts declare global { //TS2428: All declarations of 'String'...
@tomerghelber-tm my [ts-helpers](https://github.com/DetachHead/ts-helpers) package includes a `trim` function that keeps track of the value at compiletime, as well as many others: ```ts const foo = trim(' foo ') // type...
nope i gave up
this is a tough one, these two types are technically assignable to each other, but i don't think they should be considered identical ```ts type NoArgs = () => number...
i think this is related too: ```ts exactly() ``` which fails when checking with the invariance method but not the function method
i raised #231 which would solve this problem
i've created a fork of pyright that fixes this issue: https://github.com/detachhead/basedpyright it includes all of the node dependencies as part of the pypi package, so it doesn't need to install...
I've solved this problem in [basedpyright](https://github.com/detachhead/basedpyright)
@baseballyama that seems like an edge case, i think if you want to do that you should just `svelte-ignore` the warning