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