-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix exports for typescript support :}
- Loading branch information
Showing
7 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dist | ||
node_modules | ||
lib/empty.mjs | ||
lib/empty.cjs | ||
coverage |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export declare const fetch: typeof globalThis.fetch; | ||
export declare const Blob: typeof globalThis.Blob; | ||
export declare const File: typeof globalThis.File; | ||
export declare const FormData: typeof globalThis.FormData; | ||
export declare const Headers: typeof globalThis.Headers; | ||
export declare const Request: typeof globalThis.Request; | ||
export declare const Response: typeof globalThis.Response; | ||
export declare const AbortController: typeof globalThis.AbortController; | ||
|
||
export default fetch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export declare const fetch: typeof globalThis.fetch; | ||
export declare const Blob: typeof globalThis.Blob; | ||
export declare const File: typeof globalThis.File; | ||
export declare const FormData: typeof globalThis.FormData; | ||
export declare const Headers: typeof globalThis.Headers; | ||
export declare const Request: typeof globalThis.Request; | ||
export declare const Response: typeof globalThis.Response; | ||
export declare const AbortController: typeof globalThis.AbortController; | ||
|
||
export default fetch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters