We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aea1ee commit e658ed9Copy full SHA for e658ed9
src/core.ts
@@ -33,6 +33,20 @@ export {
33
34
export type Fetch = (url: RequestInfo, init?: RequestInit) => Promise<Response>;
35
36
+/**
37
+ * An alias to the builtin `Array` type so we can
38
+ * easily alias it in import statements if there are name clashes.
39
+ */
40
+type _Array<T> = Array<T>;
41
+
42
43
+ * An alias to the builtin `Record` type so we can
44
45
46
+type _Record<K extends keyof any, T> = Record<K, T>;
47
48
+export type { _Array as Array, _Record as Record };
49
50
type PromiseOrValue<T> = T | Promise<T>;
51
52
type APIResponseProps = {
0 commit comments