Comparing version 0.4.51 to 0.4.52
@@ -9,2 +9,3 @@ import { PropType } from 'vue'; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateCount: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
@@ -19,4 +20,5 @@ }, { | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateCount: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}>>, {}>; | ||
export default _default; |
@@ -15,2 +15,3 @@ /* eslint-disable @typescript-eslint/strict-boolean-expressions */ | ||
updateCounter: Function, | ||
onUpdateCount: Function, | ||
onUpdateOverflow: Function | ||
@@ -84,2 +85,5 @@ }, | ||
} | ||
const { onUpdateCount } = props; | ||
if (onUpdateCount) | ||
onUpdateCount(restCount); | ||
break; | ||
@@ -86,0 +90,0 @@ } |
@@ -9,2 +9,3 @@ import { PropType } from 'vue'; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateCount: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
@@ -19,4 +20,5 @@ }, { | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateCount: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}>>, {}>; | ||
export default _default; |
@@ -17,2 +17,3 @@ "use strict"; | ||
updateCounter: Function, | ||
onUpdateCount: Function, | ||
onUpdateOverflow: Function | ||
@@ -86,2 +87,5 @@ }, | ||
} | ||
const { onUpdateCount } = props; | ||
if (onUpdateCount) | ||
onUpdateCount(restCount); | ||
break; | ||
@@ -88,0 +92,0 @@ } |
{ | ||
"name": "vueuc", | ||
"version": "0.4.51", | ||
"version": "0.4.52", | ||
"description": "Util Components for Vue", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
225918
5844