-
Beta Was this translation helpful? Give feedback.
Answered by
icyJoseph
Jun 20, 2025
Replies: 1 comment 1 reply
-
Hi, Change to a In general a In your case, TypeScript is looking for a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bbhxwl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Change to a
.ts
file. There's some details about.d.ts
files that you probably don't want to deal with here.In general a
.d.ts
file is to model some existing JavaScript file, so that TypeScript can understand it. If you are working in TypeScript already, you don't need those, just usefilename.ts
In your case, TypeScript is looking for a
types/index.js
file. Once again just usetypes/index.ts