Skip to content

usetoast.d.ts casing issue #825

Closed
Closed
@RobWalker

Description

@RobWalker

Related to #630

I am still getting:

src/components/records/fields/MultiSetFieldDetail.vue:37:26
TS7016: Could not find a declaration file for module 'primevue/usetoast'. '..../node_modules/primevue/usetoast.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/primevue` if it exists or add a new declaration (.d.ts) file containing `declare module 'primevue/usetoast';`

If I look in node_modules/primevue I see a useToast.d.ts and usetoast.js ... all the other components match exactly on casing.

Renaming useToast.d.ts to usetoast.d.ts fixes the problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions