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
interfaceFoo{a?: string;}interfaceBar{[n: string]: number;}declareletb: Bar;// No error; expected "Type 'Bar' has no properties in common with type 'Foo'."leta: Foo=b;
Expected behavior: Error: "Type 'Bar' has no properties in common with type 'Foo'."