mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Temporary fake .d.ts for domain-tasks until moved to definitelytyped
This commit is contained in:
10
samples/react/MusicStore/ReactApp/fx/domain-tasks.d.ts
vendored
Normal file
10
samples/react/MusicStore/ReactApp/fx/domain-tasks.d.ts
vendored
Normal 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>;
|
||||
}
|
||||
Reference in New Issue
Block a user