Skip to content

Commit 3dcbbbc

Browse files
author
kyvg
committed
3.2.1
1 parent f521317 commit 3dcbbbc

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

dist/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export declare interface NotificationsOptions {
216216
id?: number;
217217
title?: string;
218218
text?: string;
219-
type?: string;
219+
type?: NotificationType;
220220
group?: string;
221221
duration?: number;
222222
speed?: number;
@@ -233,6 +233,8 @@ export declare interface NotificationsPluginOptions {
233233
velocity?: any;
234234
}
235235

236+
declare type NotificationType = 'warn' | 'success' | 'error' | (string & {});
237+
236238
export declare const notify: {
237239
(args: NotificationsOptions | string): void;
238240
close(id: unknown): void;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@kyvg/vue3-notification",
33
"description": "Vue.js Notification Library",
4-
"version": "3.2.0",
4+
"version": "3.2.1",
55
"author": "kyvg",
66
"private": false,
77
"publishConfig": {
@@ -85,4 +85,4 @@
8585
"vitest": "^1.0.2",
8686
"vue": "^3.3.4"
8787
}
88-
}
88+
}

0 commit comments

Comments
 (0)