Skip to content

Commit

Permalink
Fix TypeScript exports
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 authored Aug 12, 2024
1 parent 8283d6f commit 56e4c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ Toggle DevTools for the specified `BrowserWindow` instance or the focused one.
@param window - Default: `BrowserWindow.getFocusedWindow()`
*/
export function developmentTools(window?: BrowserWindow): void;
export function devTools(window?: BrowserWindow): void;

Check failure on line 60 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 20

The variable `devTools` should be named `developmentTools`. A more descriptive name will do too.

Check failure on line 60 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 18

The variable `devTools` should be named `developmentTools`. A more descriptive name will do too.

/**
Open DevTools for the specified `BrowserWindow` instance or the focused one.
@param window - Default: `BrowserWindow.getFocusedWindow()`
*/
export function openDevelopmentTools(window?: BrowserWindow): void;
export function openDevTools(window?: BrowserWindow): void;

Check failure on line 67 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 20

The variable `openDevTools` should be named `openDevelopmentTools`. A more descriptive name will do too.

Check failure on line 67 in index.d.ts

View workflow job for this annotation

GitHub Actions / Node.js 18

The variable `openDevTools` should be named `openDevelopmentTools`. A more descriptive name will do too.

0 comments on commit 56e4c56

Please sign in to comment.