mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
343 B
TypeScript
16 lines
343 B
TypeScript
//// [tests/cases/compiler/exportDeclarationsInAmbientNamespaces.ts] ////
|
|
|
|
//// [exportDeclarationsInAmbientNamespaces.ts]
|
|
declare namespace Q {
|
|
function _try(method: Function, ...args: any[]): any;
|
|
export { _try as try };
|
|
}
|
|
|
|
Q.try(() => { });
|
|
|
|
|
|
|
|
//// [exportDeclarationsInAmbientNamespaces.js]
|
|
"use strict";
|
|
Q.try(() => { });
|