From 084d30de99a843c187ec9c94e4bd2c8d685e09da Mon Sep 17 00:00:00 2001 From: Nikolai Ommundsen Date: Tue, 7 Nov 2017 10:21:27 +0100 Subject: [PATCH] Some more documentation --- types/chrome/chrome-app.d.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/types/chrome/chrome-app.d.ts b/types/chrome/chrome-app.d.ts index f5d04b51f4..9a71b71474 100644 --- a/types/chrome/chrome-app.d.ts +++ b/types/chrome/chrome-app.d.ts @@ -1,6 +1,6 @@ // Type definitions for Chrome packaged application development // Project: http://developer.chrome.com/apps/ -// Definitions by: Adam Lay , MIZUNE Pine , MIZUSHIMA Junki , Ingvar Stepanyan +// Definitions by: Adam Lay , MIZUNE Pine , MIZUSHIMA Junki , Ingvar Stepanyan , Nikolai Ommundsen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -93,10 +93,20 @@ declare namespace chrome.app.window { minHeight?: number; maxWidth?: number; maxHeight?: number; - frame?: any; // string ("none", "chrome") or FrameOptions + /** + * @description + * @type {(string | FrameOptions)} string ("none", "chrome") or FrameOptions + * @memberof CreateWindowOptions + */ + frame?: string | FrameOptions; bounds?: ContentBounds; alphaEnabled?: boolean; - state?: string; // "normal", "fullscreen", "maximized", "minimized" + /** + * @description + * @type {string} "normal", "fullscreen", "maximized", "minimized" + * @memberof CreateWindowOptions + */ + state?: string; hidden?: boolean; resizable?: boolean; singleton?: boolean;