-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New Import system is not working #4870
Comments
Can you send us a sample project to help us replicate, we've tried several times with no luck. |
cagataycivici
added
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
Jan 19, 2018
Can you please create a file name button.d.ts under node_modules/primeng with the following content and try again; button.d.ts
|
Tracked at; |
mertsincan
removed
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
Oct 18, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
The new import system as documented on your website is not working:
import { ButtonModule } from 'primeng/button'; gives the error:
[at-loader] ./ClientApp/app/shared/shared.module.ts:9:30
TS7016: Could not find a declaration file for module 'primeng/button'. 'C:/Projects/Pleegzorg/Pleegzorg.Web/node_modules/primeng/button.js' implicitly has an 'any' type.
Try
npm install @types/primeng/button
if it exists or add a new declaration (.d.ts) file containingdeclare module 'primeng/button';
Regards,
Glenn
The text was updated successfully, but these errors were encountered: