@hylid/types 3.0.0-alpha.9 → 3.1.0

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.
Files changed (2) hide show
  1. package/lib/common.d.ts +1 -0
  2. package/package.json +2 -3
package/lib/common.d.ts CHANGED
@@ -3,3 +3,4 @@ export declare type PickAttr<Attr extends keyof T, T = any> = {
3
3
  }[keyof T];
4
4
  export declare type Common = Record<string, any>;
5
5
  export declare type Callback<T> = (result?: T) => void;
6
+ export declare type JsApiType = 'async' | 'sync' | 'callback';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hylid/types",
3
- "version": "3.0.0-alpha.9",
3
+ "version": "3.1.0",
4
4
  "main": "lib/index.js",
5
5
  "files": [
6
6
  "lib",
@@ -14,6 +14,5 @@
14
14
  },
15
15
  "license": "MIT",
16
16
  "sideEffects": false,
17
- "registry": "https://registry.npmjs.org/",
18
- "repository": "https://code.alipay.com/ant-ife/hylid-bridge.git"
17
+ "registry": "https://registry.npmjs.org/"
19
18
  }