TypeScript/tests/cases/compiler/exportDeclarationsInAmbientNamespaces.ts

9 lines
139 B
TypeScript
Raw Normal View History

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