Browse Source

Up TS build

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

Loading…
Cancel
Save