@dcloudio/uni-app-x 0.1.0 → 0.1.2

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.
package/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  /// <reference path='./native/index.d.ts' />
2
+ /// <reference path='./vue/index.d.ts' />
@@ -0,0 +1,10 @@
1
+ /// <reference path="./Event.d.ts" />
2
+
3
+ declare class CustomEventOptions<T>{
4
+ detail: T
5
+ constructor (detail: T)
6
+ }
7
+
8
+ declare class CustomEvent<T> extends Event {
9
+ constructor (type: string, options: CustomEventOptions<T>)
10
+ }
package/native/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path='./CustomEvent.d.ts' />
1
2
  /// <reference path='./Event.d.ts' />
2
3
  /// <reference path='./Event.d.ts' />
3
4
  /// <reference path='./IApp.d.ts' />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "author": "DCloud",
@@ -0,0 +1,10 @@
1
+ /// <reference path="./CustomEvent.d.ts" />
2
+
3
+ declare class CheckboxGroupChangeEventDetail {
4
+ value: string[];
5
+ constructor (value: string[]);
6
+ }
7
+
8
+ export declare class CheckboxGroupChangeEvent extends CustomEvent<CheckboxGroupChangeEventDetail> {
9
+ constructor (value: string[]);
10
+ }
package/vue/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ /// <reference path='./CheckboxGroupChangeEvent.d.ts' />