Hi,
I've been having an issue with a type definition.
I have a file that defines the types for a bunch of objects related to inbox.
I do have an inbox.ts file that defines those types.
But for some reason, when running the command:
tsc --module es2022 --noEmit --typeRoots "modules,**/modules/**,types,**/types/**,**/node_modules/**/@types,node_modules/@types,**/declarations/**,src/shared/declarations,src/shared/types,src/shared/types/inbox" --target "es6" --sourceMap --pretty --removeComments --experimentalDecorators --declaration --allowJs --allowSyntheticDefaultImports --esModuleInterop --forceConsistentCasingInFileNames --isolatedModules --jsx "react-jsx" --noEmit --noFallthroughCasesInSwitch --resolveJsonModule --moduleResolution "node" --skipLibCheck --strict --rootDir "." --baseUrl "." src/shared/declarations/@cytora/application-storage.d.ts src/shared/declarations/@cytora/custom-hooks.d.ts src/shared/declarations/@cytora/error-lib-utils.d.ts src/shared/declarations/@cytora/external-services.d.ts src/shared/declarations/@cytora/index.d.ts src/shared/declarations/diff-json.d.ts src/shared/declarations/fastest-json-copy.d.ts src/shared/declarations/global.d.ts src/shared/declarations/inbox.d.ts src/shared/declarations/locize.d.ts src/shared/declarations/svg.d.ts
I'm having the error
error TS2688: Cannot find type definition file for 'inbox'.
The file is in the program because:
Entry point for implicit type library 'inbox'
It doesn't say more than that. I tried multiple things, including created a inbox.d.ts file with declare module 'inbox but it doesn't work either.
I have no module called inbox in my package.json nor import anything like in my code.
Any idea what is could be? I'm running out of ideas.
The weird thing as well is, it doesn't seem like my colleagues are having this issue. Only me