@happy-ts/fetch-t 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -115,5 +115,5 @@ declare function fetchT(url: string | URL, init: FetchInit & {
115
115
  */
116
116
  declare function fetchT(url: string | URL, init?: RequestInit): FetchResponse<string>;
117
117
 
118
- export { type FetchInit, type FetchTask, fetchT };
118
+ export { type FetchInit, type FetchResponse, type FetchTask, fetchT };
119
119
  //# sourceMappingURL=types.d.ts.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Cancelable fetch wrapper with the ability to specify the return type.",
4
4
  "author": "jiang115jie@gmail.com",
5
5
  "license": "GPL-3.0",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "type": "module",
8
8
  "source": "./src/mod.ts",
9
9
  "main": "./dist/main.cjs",
package/src/mod.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type { FetchInit, FetchTask } from './fetch/defines.ts';
1
+ export type { FetchInit, FetchResponse, FetchTask } from './fetch/defines.ts';
2
2
  export { fetchT } from './fetch/fetch.ts';