TypeScript/tests/cases/compiler/exportDeclarationsInAmbientNamespaces.ts
2017-02-06 15:34:43 -08:00

9 lines
139 B
TypeScript

declare namespace Q {
function _try(method: Function, ...args: any[]): any;
export { _try as try };
}
Q.try(() => { });