Temporary fake .d.ts for domain-tasks until moved to definitelytyped

This commit is contained in:
SteveSandersonMS
2016-02-08 18:15:20 -08:00
parent ad55e9c94d
commit 4312d6e28c

View File

@@ -0,0 +1,10 @@
// TODO: Move this on to definitelytyped, and take a dependency on whatwg-fetch
// so that the 'fetch' function can have the correct type args
declare module 'domain-tasks' {
function addTask(task: PromiseLike<any>): void;
}
declare module 'domain-tasks/fetch' {
function fetch(url, options?): Promise<any>;
}