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
{{ message }}
This repository has been archived by the owner on May 31, 2024. It is now read-only.
This is the error message i find on my IDE:
Could not find a declaration file for module 'xendit-js-node'. '/.../front-end/node_modules/xendit-js-node/src/xendit.js implicitly has an 'any' type.
Try npm install @types/xendit-js-node if it exists or add a new declaration (.d.ts) file containing declare module 'xendit-js-node';ts(7016)
I used npm i --save xendit-js-node to install. Suggestions online include, creating a .d.ts somewhere in the project. However, from the reference code i have seen online, none have a .d.ts file.
edit: I realised that xendit-js-node is specifically for react-native. My project is currently using react-js is it still possible to integrate?
The text was updated successfully, but these errors were encountered:
import Xendit from 'xendit-js-node';
This is the error message i find on my IDE:
Could not find a declaration file for module 'xendit-js-node'. '/.../front-end/node_modules/xendit-js-node/src/xendit.js implicitly has an 'any' type.
Try
npm install @types/xendit-js-node
if it exists or add a new declaration (.d.ts) file containingdeclare module 'xendit-js-node';
ts(7016)I used
npm i --save xendit-js-node
to install. Suggestions online include, creating a.d.ts
somewhere in the project. However, from the reference code i have seen online, none have a.d.ts
file.edit: I realised that xendit-js-node is specifically for react-native. My project is currently using react-js is it still possible to integrate?
The text was updated successfully, but these errors were encountered: