@jiaozhiye/qm-design-react 1.9.6 → 1.9.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.
@@ -19,7 +19,7 @@ export declare const camelize: (input: string) => string;
19
19
  export declare const isEmpty: (val: any) => boolean;
20
20
  export declare const isValid: (val: string) => boolean;
21
21
  export declare const isSci: (value: number) => boolean;
22
- export declare const getValueByPath: (obj: AnyObject<any>, paths?: string) => unknown;
22
+ export declare const getValueByPath: (obj: AnyObject<any>, path: string) => unknown;
23
23
  export declare const setValueByPath: (obj: AnyObject<any>, path: string, value: unknown) => void;
24
24
  export declare const omit: <T extends object, K extends keyof T>(obj: T, fields: K[] | readonly K[]) => Omit<T, K>;
25
25
  export declare const pick: <T extends object, K extends keyof T>(obj: T, keys: (string | K)[]) => Pick<T, K>;
@@ -47,7 +47,6 @@ declare class QmDownload extends Component<IProps, IState> {
47
47
  static contextType: React.Context<import("../../config-provider/context").IConfig>;
48
48
  state: IState;
49
49
  getActionUrl(): Promise<string>;
50
- downloadFile(url: string): Promise<void>;
51
50
  downloadHandle: () => Promise<void>;
52
51
  render(): React.JSX.Element;
53
52
  }