@jswork/types 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- export interface StdEvent {
1
+ type StdEvent = {
2
2
  target: { value: any };
3
- }
3
+ };
4
4
 
5
- export interface StdCustomEvent {
5
+ type StdCustomEvent = {
6
6
  detail: { value: any };
7
- }
7
+ };
8
8
 
9
- export interface Destroyable {
9
+ type Destroyable = {
10
10
  destroy(): void;
11
- }
11
+ };
12
12
 
13
- export interface FormWidet {
13
+ type FormWidget = {
14
14
  onChange: (value: any) => void;
15
15
  value: any;
16
- }
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/types",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Common types for typescript.",
5
5
  "homepage": "https://github.com/afeiship/types",
6
6
  "license": "MIT",