We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad55e9c commit 4312d6eCopy full SHA for 4312d6e
samples/react/MusicStore/ReactApp/fx/domain-tasks.d.ts
@@ -0,0 +1,10 @@
1
+// TODO: Move this on to definitelytyped, and take a dependency on whatwg-fetch
2
+// so that the 'fetch' function can have the correct type args
3
+
4
+declare module 'domain-tasks' {
5
+ function addTask(task: PromiseLike<any>): void;
6
+}
7
8
+declare module 'domain-tasks/fetch' {
9
+ function fetch(url, options?): Promise<any>;
10
0 commit comments