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

Make interface properties optional #90

Open
hloehrmann opened this issue Nov 23, 2020 · 0 comments
Open

Make interface properties optional #90

hloehrmann opened this issue Nov 23, 2020 · 0 comments

Comments

@hloehrmann
Copy link

It would be great if the interface properties would be optional so I can type them without implementing all members.

Currently this leads to a typescript compiler error:

 private types: INotyfNotificationOptions[] = [
    {
      type: 'my-custom-type',
      className: 'my-custom-classname',
    }
  ];

I can make a PR if appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant