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