Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript applications cannot find the 'Tooltip' module #1618

Closed
bbs29 opened this issue Oct 8, 2020 · 0 comments
Closed

TypeScript applications cannot find the 'Tooltip' module #1618

bbs29 opened this issue Oct 8, 2020 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@bbs29
Copy link

bbs29 commented Oct 8, 2020

Getting error in typescript when trying to import tooltip to use it as a component.

import { Tooltip } from 'primereact/tooltip';

Error message::
TypeScript error in /Users/xxxxx/xxxxxx.tsx(13,10):
Module '"../../../../node_modules/primereact/tooltip"' has no exported member 'Tooltip'. TS2305

PrimeReact version:::
"primereact": "^5.0.0",

@mertsincan mertsincan changed the title Module '"../../../../node_modules/primereact/tooltip"' has no exported member 'Tooltip'. TypeScript applications cannot find the 'Tooltip' module Oct 9, 2020
@mertsincan mertsincan self-assigned this Oct 9, 2020
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Oct 9, 2020
@mertsincan mertsincan added this to the 5.0.1 milestone Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants