Skip to content

Commit

Permalink
Fix types in index.d.ts
Browse files Browse the repository at this point in the history
Error message was:

Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
  • Loading branch information
hpello authored and cheton committed Feb 21, 2023
1 parent 3bd60eb commit a25d62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
function isElectron (): boolean
declare function isElectron (): boolean
export = isElectron

0 comments on commit a25d62a

Please sign in to comment.