maishu-toolkit
Advanced tools
Comparing version 1.5.0 to 1.5.2
/*! | ||
* ~ | ||
* maishu-toolkit v1.4.14 | ||
* maishu-toolkit v1.5.0 | ||
* https://github.com/ansiboy/toolkit | ||
@@ -5,0 +5,0 @@ * |
/*! | ||
* ~ | ||
* maishu-toolkit v1.4.14 | ||
* maishu-toolkit v1.5.0 | ||
* https://github.com/ansiboy/toolkit | ||
@@ -5,0 +5,0 @@ * |
/*! | ||
* ~ | ||
* maishu-toolkit v1.4.14 | ||
* maishu-toolkit v1.5.0 | ||
* https://github.com/ansiboy/toolkit | ||
@@ -5,0 +5,0 @@ * |
/*! | ||
* ~ | ||
* maishu-toolkit v1.4.14 | ||
* maishu-toolkit v1.5.0 | ||
* https://github.com/ansiboy/toolkit | ||
@@ -5,0 +5,0 @@ * |
@@ -8,9 +8,9 @@ export declare type ValueChangedCallback<T> = (args: T, sender: any) => void; | ||
private _value; | ||
constructor(value?: T); | ||
attach(func: ValueChangedCallback<T | null>, sender?: any): ValueChangedCallback<T>; | ||
add(func: ValueChangedCallback<T | null>, sender?: any): ValueChangedCallback<T>; | ||
constructor(value: T); | ||
attach(func: ValueChangedCallback<T>, sender?: any): ValueChangedCallback<T>; | ||
add(func: ValueChangedCallback<T>, sender?: any): ValueChangedCallback<T>; | ||
remove(func: ValueChangedCallback<T>): void; | ||
fire(value: T | null): void; | ||
get value(): T | null; | ||
set value(value: T | null); | ||
fire(value: T): void; | ||
get value(): T; | ||
set value(value: T); | ||
} |
{ | ||
"name": "maishu-toolkit", | ||
"version": "1.5.0", | ||
"version": "1.5.2", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./out/index.d.ts", |
325119