Skip to content

Commit b771818

Browse files
authored
Merge pull request #479 from cjke/master
Update index.d.ts to support custom themes
2 parents aa27f6d + be24ec1 commit b771818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ declare class Noty {
7373

7474
declare namespace Noty {
7575
type Type = 'alert' | 'success' | 'warning' | 'error' | 'info' | 'information';
76-
type Theme = 'mint' | 'sunset' | 'relax' | 'metroui' | 'bootstrap-v3' | 'bootstrap-v4' | 'semanticui' | 'nest';
76+
type Theme = string;
7777
type Layout = 'top' | 'topLeft' | 'topCenter' | 'topRight' | 'center' | 'centerLeft' | 'centerRight' | 'bottom' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
7878
type Event = 'beforeShow' | 'onShow' | 'afterShow' | 'onClose' | 'afterClose' | 'onHover' | 'onTemplate' | 'onClick';
7979

0 commit comments

Comments
 (0)