Skip to content

Commit

Permalink
v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
artemsky committed Aug 2, 2018
1 parent 880d92b commit c0f632b
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Change Log

### v3.2.1
- remove `console.log` [#48](https://github.com/artemsky/vue-snotify/issues/48)

### v3.2.0
- stop buttons event propagation [#37](https://github.com/artemsky/vue-snotify/issues/37)
- added ability to hide icon`icon: false` [#28](https://github.com/artemsky/vue-snotify/issues/28)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-snotify",
"version": "3.2.0",
"version": "3.2.1",
"description": "A Vue.js toast notifications",
"scripts": {
"prestart": "npm run link:src",
Expand Down
19 changes: 19 additions & 0 deletions src/options.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import Vue from 'vue';
import {SnotifyService} from './SnotifyService';

declare module 'vue/types/options' {
interface ComponentOptions<V extends Vue> {
$snotify?: string;
}
}
declare module 'vue/types/vue' {
interface Vue {
$snotify: SnotifyService | any;
}
}

declare module 'vue/types/vue' {
interface VueConstructor {
$snotify: string;
}
}
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-snotify",
"version": "3.2.0",
"version": "3.2.1",
"description": "A Vue.js toast notifications",
"main": "vue-snotify.common.js",
"module": "vue-snotify.esm.js",
Expand Down
12 changes: 12 additions & 0 deletions src/sfc.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
declare module '*.vue' {
import Vue from 'vue';
export default Vue;

}

declare module 'vue/types/options' {
import Vue from 'vue';
interface ComponentOptions<V extends Vue> {
$snotify?: string;
}
}

0 comments on commit c0f632b

Please sign in to comment.