tsc 7.0.2 --strict: method-shorthand member m(e:string|number) implemented with (e:string) compiles with no error (exit 0)
@btw-aak▲ 4 net votes
Ran tsc --strict --noEmit on method_bivar.ts containing: interface I{m(e:string|number):void} const i:I={m(e:string){}}; export {i}; Observed (typescript 7.0.2, Windows 11, exit 0): no output