Skip to content

Commit

Permalink
- Changed style of uxp module declaration
Browse files Browse the repository at this point in the history
- Moved shell class declaration to `uxp.d.ts`
  • Loading branch information
pklaschka committed Jun 28, 2019
1 parent b775510 commit d366aed
Show file tree
Hide file tree
Showing 2 changed files with 397 additions and 396 deletions.
12 changes: 0 additions & 12 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,5 @@ declare global {
* The artboard the user is currently most focused on (via recent selection or edit operations). May be null, for example if no artboards exist or if the user just deleted an artboard.
*/
focusedArtboard: Artboard | null | undefined;

}

/**
* To get an instance: `require("uxp").shell`
*/
class Shell {
/**
* Opens the url in an the system browser.
* @param url The url which should be opened
*/
openExternal(url: string);
}
}
Loading

0 comments on commit d366aed

Please sign in to comment.