Skip to content

Commit

Permalink
3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kyvg committed Mar 19, 2024
1 parent f521317 commit 3dcbbbc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export declare interface NotificationsOptions {
id?: number;
title?: string;
text?: string;
type?: string;
type?: NotificationType;
group?: string;
duration?: number;
speed?: number;
Expand All @@ -233,6 +233,8 @@ export declare interface NotificationsPluginOptions {
velocity?: any;
}

declare type NotificationType = 'warn' | 'success' | 'error' | (string & {});

export declare const notify: {
(args: NotificationsOptions | string): void;
close(id: unknown): void;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kyvg/vue3-notification",
"description": "Vue.js Notification Library",
"version": "3.2.0",
"version": "3.2.1",
"author": "kyvg",
"private": false,
"publishConfig": {
Expand Down Expand Up @@ -85,4 +85,4 @@
"vitest": "^1.0.2",
"vue": "^3.3.4"
}
}
}

0 comments on commit 3dcbbbc

Please sign in to comment.