DetachHead
DetachHead
@samuelcolvin all outstanding conversations are resolved, unless there's something i'm missing? i think it's ready to merge
my bad, i didn't realize i had to comment it again after making changes, i assumed clicking "re-request review" would've done it
#4356 is ready to go i think
also causes an invalid 'Expression has type "Any"' error: ```py from typing import TypeVar Fn = TypeVar("Fn") def foo(fn: Fn, value: bool = False) -> Fn: ... def f() ->...
> When you care about the inner structure or strictness flag is on (I also turn it on for all my projects), you can use: > > ```python > def...
how so? typescript supports it: ```ts declare function foo(l: L, t: T): T declare const a: number[] declare const b: number const c = foo(a, b) //inferred as foo ```
[ts-toolbelt]() has a `NoInfer` type that works the same as in kotlin ```ts import {Function} from 'ts-toolbelt' declare function assertSomething(expected: T, actual: Function.NoInfer): void // Argument of type '{ y:...
is this the same issue? ```svelte $: foo = 1 foo.toString // no error const bar = () => { foo.toString // @typescript-eslint/no-unsafe-member-access } ```
could this also be used in conditional types like in typescript? ```py type Foo[T] = R if T extends Callable[[], Infer[R]] else Never ```
i'm not sure how others have been doing it but i was using https://github.com/NSExceptional/FLEXing on a jailbroken iOS device. i can't remember the exact steps i took because i can't...