Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SirensOfTitan/d85a10a13f357150e4ef55c72efe75d4 to your computer and use it in GitHub Desktop.
Save SirensOfTitan/d85a10a13f357150e4ef55c72efe75d4 to your computer and use it in GitHub Desktop.
node_modules/opensea-js/lib/api.d.ts:100:51 - error TS2304: Cannot find name 'Response'.
100 get(apiPath: string, query?: object): Promise<Response>;
~~~~~~~~
node_modules/opensea-js/lib/api.d.ts:108:49 - error TS2304: Cannot find name 'RequestInit'.
108 post(apiPath: string, body?: object, opts?: RequestInit): Promise<Response>;
~~~~~~~~~~~
node_modules/opensea-js/lib/api.d.ts:108:71 - error TS2304: Cannot find name 'Response'.
108 post(apiPath: string, body?: object, opts?: RequestInit): Promise<Response>;
~~~~~~~~
node_modules/opensea-js/lib/api.d.ts:116:47 - error TS2304: Cannot find name 'RequestInit'.
116 put(apiPath: string, body: object, opts?: RequestInit): Promise<Response>;
~~~~~~~~~~~
node_modules/opensea-js/lib/api.d.ts:116:69 - error TS2304: Cannot find name 'Response'.
116 put(apiPath: string, body: object, opts?: RequestInit): Promise<Response>;
~~~~~~~~
node_modules/opensea-js/node_modules/isomorphic-unfetch/index.d.ts:9:35 - error TS2304: Cannot find name 'Headers'.
9 export type IsomorphicHeaders = Headers | NodeHeaders;
~~~~~~~
node_modules/opensea-js/node_modules/isomorphic-unfetch/index.d.ts:10:32 - error TS2304: Cannot find name 'Body'.
10 export type IsomorphicBody = Body | NodeBody;
~~~~
node_modules/opensea-js/node_modules/isomorphic-unfetch/index.d.ts:11:36 - error TS2304: Cannot find name 'Response'.
11 export type IsomorphicResponse = Response | NodeResponse;
~~~~~~~~
node_modules/opensea-js/node_modules/isomorphic-unfetch/index.d.ts:12:35 - error TS2304: Cannot find name 'Request'.
12 export type IsomorphicRequest = Request | NodeRequest
~~~~~~~
node_modules/opensea-js/node_modules/isomorphic-unfetch/index.d.ts:15:31 - error TS2304: Cannot find name 'fetch'.
15 declare const unfetch: typeof fetch;
~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment