Skip to content

Commit

Permalink
Removing orphaned interfaces (replaced by options config JSDoc)
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Aug 31, 2018
1 parent d3b0495 commit 56b7430
Showing 1 changed file with 1 addition and 51 deletions.
52 changes: 1 addition & 51 deletions types/uxp.d.ts
Original file line number Diff line number Diff line change
@@ -1,55 +1,5 @@
declare const shell: Shell;

interface CopyToOptions {
/**
* if `true`, allows overwriting existing entries
*/
overwrite?: boolean;
}

interface MoveToOptions {
/**
* if `true`, allows overwriting existing entries
*/
overwrite: boolean;
/**
* If specified?, the entry is renamed to this name
*/
newName?: string;
}

interface FileReadOptions {
format?: Symbol;
}

interface FileWriteOptions {
format?: Symbol;
append?: boolean;
}

type GetFileForOpeningOptions = {
initialDomain?: Symbol;
types?: string[];
allowMultiple?: boolean;
}

interface GetFileForSavingOptions {
initialDomain?: Symbol;
}

interface GetFolderOptions {
initialDomain?: Symbol;
}

interface CreateEntryOptions {
type?: Symbol;
overwrite?: boolean;
}

interface RenameEntryOptions {
overwrite?: boolean;
}

declare module storage {
/**
* An Entry is the base class for `File` and `Folder`. You'll typically never instantiate an `Entry` directly, but it provides the common fields and methods that both `File` and `Folder` share.
Expand Down Expand Up @@ -259,7 +209,7 @@ declare module storage {
*
* @returns the selected folder, or `null` if no folder is selected.
*/
public getFolder(options: GetFolderOptions): Promise<Folder>;
public getFolder(options?): Promise<Folder>;

/**
* Returns a temporary folder. The contents of the folder will be removed when the extension is disposed.
Expand Down

0 comments on commit 56b7430

Please sign in to comment.