TypeScript-TmLanguage/tests/cases/Issue427.ts

3 строки
161 B
TypeScript

function a(): { [key: string]: number } | { [key: string]: number } { throw 1 }
function b(a: { [key: string]: number } | { [key: string]: number }): void { }