From f1c86a64c014e02b95c4c24d5ab0e2c45306f1b3 Mon Sep 17 00:00:00 2001 From: singuerinc Date: Fri, 31 Aug 2018 17:18:43 +0200 Subject: [PATCH] update dat.gui definition --- types/dat.gui/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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