diff --git a/types/dat.gui/index.d.ts b/types/dat.gui/index.d.ts index 5c20fd51fe..a7fe6a4e3a 100644 --- a/types/dat.gui/index.d.ts +++ b/types/dat.gui/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for dat.GUI 0.7 +// Type definitions for dat.GUI 0.7.2 // Project: https://github.com/dataarts/dat.gui -// Definitions by: Satoru Kimura , ZongJing Lu , Richard Roylance +// Definitions by: Satoru Kimura , ZongJing Lu , Richard Roylance , Nahuel Scotti // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export as namespace dat; @@ -95,12 +95,12 @@ export class GUIController { destroy(): void; // Controller - onChange: (value?: any) => void; - onFinishChange: (value?: any) => void; + onChange: (value?: any) => GUIController; + onFinishChange: (value?: any) => GUIController; setValue(value: any): GUIController; getValue(): any; - updateDisplay(): void; + updateDisplay(): GUIController; isModified(): boolean; // NumberController