You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error when trying to build a TypeScript project containing the OCI library:
node_modules/oci-common/lib/auth/url-based-x509-certificate-supplier.d.ts:10:26 - error TS7016: Could not find a declaration file for module 'node-fetch'. '/home/wl/Documents/repos/autoherd/backend/autoherd-api/node_modules/node-fetch/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/node-fetch` if it exists or add a new declaration (.d.ts) file containing `declare module 'node-fetch';`
10 import { Response } from "node-fetch";
~~~~~~~~~~~~
Found 1 error in node_modules/oci-common/lib/auth/url-based-x509-certificate-supplier.d.ts:10
Library: 2.76.0
TypeScript: 5.3.3
The text was updated successfully, but these errors were encountered:
jyotisaini
added
the
SDK
Issue pertains to the SDK itself and not specific to any service
label
Jan 11, 2024
I'm getting this error when trying to build a TypeScript project containing the OCI library:
Library: 2.76.0
TypeScript: 5.3.3
The text was updated successfully, but these errors were encountered: