From b3bf8ded031de9dbccedfc4992fc0431421eacaa Mon Sep 17 00:00:00 2001 From: Michelle Scharlock Date: Tue, 18 Sep 2018 09:26:11 -0700 Subject: [PATCH] removing spaces --- types/office-runtime/index.d.ts | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/types/office-runtime/index.d.ts b/types/office-runtime/index.d.ts index d8915fbf97..e3583e2a8f 100644 --- a/types/office-runtime/index.d.ts +++ b/types/office-runtime/index.d.ts @@ -29,51 +29,42 @@ declare namespace OfficeRuntime { interface AsyncStorage { /* * @beta - * Retrieves an object based on a key and invokes a callback when finished. Returns a Promise. - * + * Retrieves an object based on a key and invokes a callback when finished. Returns a Promise. */ getItem(key: string, callback?: (error?: Error, result?: string) => void): Promise; /* * @beta * Assigns the value for a key-value pair and invokes a callback when finished. Returns a Promise. - * */ setItem(key: string, value: string, callback?: (error?: Error) => void): Promise; /* * @beta * Removes an item for specified key and invokes a callback when finished. Returns a Promise. - * - * */ removeItem(key: string, callback?: (error?: Error) => void): Promise; /* * @beta * Erases all AsyncStorage. Returns a Promise. - * */ clear(callback?: (error?: Error) => void): Promise; /* * @beta * Returns a Promise with all keys for your custom function. - * */ getAllKeys(callback?: (error?: Error, keys?: string[]) => void): Promise; /* * @beta * Stores multiple key-value pairs in one batch. Returns a Promise. When a key doesn't exist, returns null. - * */ multiSet(keyValuePairs: string[][], callback?: (errors?: Error[]) => void): Promise; /* * @beta * Deletes a batch of keys, specified in the `keys` array. - * */ multiRemove(keys: string[], callback?: (errors?: Error[]) => void): Promise;/** /* * @beta * Fetches a batch of keys, specified in the `keys` array. When a key doesn't exist, returns null. - * */ multiGet(keys: string[], callback?: (errors?: Error[], result?: string[][]) => void): Promise; } @@ -81,7 +72,6 @@ declare namespace OfficeRuntime { /* * @beta * Object representing the dialog box for Excel Custom Functions only. - * */ interface Dialog { /* @@ -92,9 +82,7 @@ declare namespace OfficeRuntime { } /* - * * Provides options for how a dialog is displayed for Excel Custom Functions only. - * */ interface DisplayWebDialogOptions { /* @@ -131,24 +119,18 @@ declare namespace OfficeRuntime { /* * @beta * Callback that is run when the dialog box sends a message to its parent. - * - * */ onMessage?: (message: string, dialog?: Dialog) => void; /* * @beta * Callback that is run when the dialog box is closed. - * - * */ onClose?: () => void; /* * @beta * Callback that is run when the dialog box sends an error. - * - * */ onMessage?(message: string, dialog?: Dialog): void }