Skip to content

Commit c0f632b

Browse files
committed
v3.2.1
1 parent 880d92b commit c0f632b

File tree

5 files changed

+36
-2
lines changed

5 files changed

+36
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Change Log
22

3+
### v3.2.1
4+
- remove `console.log` [#48](https://github.com/artemsky/vue-snotify/issues/48)
5+
36
### v3.2.0
47
- stop buttons event propagation [#37](https://github.com/artemsky/vue-snotify/issues/37)
58
- added ability to hide icon`icon: false` [#28](https://github.com/artemsky/vue-snotify/issues/28)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-snotify",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "A Vue.js toast notifications",
55
"scripts": {
66
"prestart": "npm run link:src",

src/options.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import Vue from 'vue';
2+
import {SnotifyService} from './SnotifyService';
3+
4+
declare module 'vue/types/options' {
5+
interface ComponentOptions<V extends Vue> {
6+
$snotify?: string;
7+
}
8+
}
9+
declare module 'vue/types/vue' {
10+
interface Vue {
11+
$snotify: SnotifyService | any;
12+
}
13+
}
14+
15+
declare module 'vue/types/vue' {
16+
interface VueConstructor {
17+
$snotify: string;
18+
}
19+
}

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-snotify",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "A Vue.js toast notifications",
55
"main": "vue-snotify.common.js",
66
"module": "vue-snotify.esm.js",

src/sfc.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
declare module '*.vue' {
2+
import Vue from 'vue';
3+
export default Vue;
4+
5+
}
6+
7+
declare module 'vue/types/options' {
8+
import Vue from 'vue';
9+
interface ComponentOptions<V extends Vue> {
10+
$snotify?: string;
11+
}
12+
}

0 commit comments

Comments
 (0)