value.d.ts 781 B

12345678910111213141516171819202122
  1. import { IMixin4Legacy } from '@mini-types/alipay';
  2. declare const _default: ({ valueKey, defaultValueKey, scopeKey, transformValue, }?: {
  3. valueKey?: string;
  4. defaultValueKey?: string;
  5. scopeKey?: string;
  6. transformValue?: (this: any, value: any, extra: {
  7. nextProps: Record<string, any>;
  8. }, ...args: any) => {
  9. needUpdate: boolean;
  10. value?: any;
  11. };
  12. }) => IMixin4Legacy<Record<string, any>, Record<string, any>, {
  13. getValue(prevData?: any): any;
  14. isControlled(): boolean;
  15. updateControlled(): void;
  16. update(val: any, extra?: any, ...args: any): {
  17. needUpdate: boolean;
  18. value: any;
  19. };
  20. isEqualValue(prevData: any): boolean;
  21. }, MiniProgram.UnknownRecord, MiniProgram.UnknownRecord>;
  22. export default _default;