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
interfaceOptions<SelfextendsOptions<Self>>{attr1: Record<string,null>;attr2: keyofSelf["attr1"];attr3?: (arg: any)=>any;}functiontest<TextendsOptions<T>>(options: T){returnoptions}test({attr1: {a: null,},attr2: "a",// here I got the expected auto-completion hint and the type is `a`.});test({attr1: {a: null,},attr2: "a",// here the type is `never` and a problem is causedattr3: (arg)=>arg,});
π Actual behavior
π Expected behavior
The text was updated successfully, but these errors were encountered:
Bug Report
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
π Expected behavior
The text was updated successfully, but these errors were encountered: