Browse Source

Up TS build

pull/5606/head
Artur Arseniev 2 years ago
parent
commit
91b515bcf0
  1. 9
      dist/index.d.ts

9
dist/index.d.ts

@ -2730,9 +2730,14 @@ export interface TraitProperties {
trait: Trait;
component: Component;
partial: boolean;
options: TraitSetValueOptions;
emitUpdate: () => void;
}) => void;
}
export interface TraitSetValueOptions {
partial?: boolean;
[key: string]: unknown;
}
export type TraitOption = {
id: string;
label?: string;
@ -2802,9 +2807,7 @@ export declare class Trait extends Model<TraitProperties> {
* @param {Object} [opts={}] Options.
* @param {Boolean} [opts.partial] If `true` the update won't be considered complete (not stored in UndoManager).
*/
setValue(value: any, opts?: {
partial?: boolean;
}): void;
setValue(value: any, opts?: TraitSetValueOptions): void;
/**
* Get default value.
*/

Loading…
Cancel
Save