@utogether/utils 1.15.18 → 2.0.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.
@@ -1,7 +1,7 @@
1
1
  interface IAttrs {
2
2
  disabled?: boolean;
3
3
  defaultValue?: string;
4
- code?: undefined;
4
+ code?: string;
5
5
  [x: string]: any;
6
6
  }
7
7
  export declare const useRender: () => {
@@ -129,7 +129,7 @@ export declare const useRender: () => {
129
129
  defaultValue: any;
130
130
  events: any;
131
131
  };
132
- renderSwitch: (attrs?: IAttrs, methods?: any) => {
132
+ renderSwitch: (attrs?: string | IAttrs, methods?: any) => {
133
133
  name: string;
134
134
  props: {
135
135
  openLabel: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@utogether/utils",
3
3
  "private": false,
4
- "version": "1.15.18",
4
+ "version": "2.0.0",
5
5
  "description": "",
6
6
  "main": "dist/utils.umd.js",
7
7
  "module": "dist/utils.umd.js",