mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
11 lines
318 B
TypeScript
11 lines
318 B
TypeScript
// 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-task' {
|
|
function addTask(task: PromiseLike<any>): void;
|
|
}
|
|
|
|
declare module 'domain-task/fetch' {
|
|
function fetch(url, options?): Promise<any>;
|
|
}
|