-
Notifications
You must be signed in to change notification settings - Fork 513
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
pnotify v5.1.0 and angular 9 #388
Comments
i have the same error .... in my app ... I've changed index.d.ts, at line 232, and the error go away .... i think that, we have two abstract classes declared in this file, however, angular doesn't know what class is the "main" class of the file. i think that it's the answer! |
Hi, |
Hi, I made change in the Thanks |
so, i've tested yesterday, and i got the same problem ... with pnotify, so, now, i saw that the developer has made some changes ... i'll try it again ... see ya |
Bro .... the error continues .... let wait other commit from developer .... tks |
Hi, Thanks for your assistance. see ya |
@hperrin if you get a moment, would you mind taking a look at them please? 🙌 |
Managed to recreate this on codesandbox.io with Angular 11.2 which is interesting because no errors are thrown there, which is why I think this was overlooked Easy way recreate this issue:
|
I'm looking into this now. |
Is this only happening with Angular, or with any project using TypeScript? |
Can't say for sure, I think everyone who commented here experienced it with Angular projects - |
Since Svelte now supports TypeScript natively, I may be able to do away with the type definition file and convert PNotify to typed Svelte. |
Hey @hperrin - just wanted to follow up on this? :) |
Hi,
I use latest version of pnotify in my ng9 app but I'm facing of some issues I don't understand.
1 - I have error in in node_modules/@pnotify/core/Stack.d.ts line 1
TS wants
import { Notice } from './';
instead ofimport Notice from './';
Stack.d.ts img
TS error img
2 - On notification, it displays on bottom left of my screen with no icons, no click button etc.. instead of top right of my screen
Notification img
Code img
Thanks for help
The text was updated successfully, but these errors were encountered: