TypeScript/tests/cases/compiler/paramterDestrcuturingDeclaration.ts

7 lines
96 B
TypeScript

// @declaration: true
interface C {
({p: name}): any;
new ({p: boolean}): any;
}