Skip to content

Commit

Permalink
add TypeScript type declaration
Browse files Browse the repository at this point in the history
fixes #85
  • Loading branch information
derhuerst committed Jul 31, 2022
1 parent fa0c1b3 commit f63f44c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"files": [
"index.js",
"install.js",
"example.js"
"example.js",
"types"
],
"types": "types/index.d.ts",
"scripts": {
"install": "node install.js",
"test": "node test.js",
Expand Down
2 changes: 2 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const ffmpegPath: string | null;
export default ffmpegPath;

0 comments on commit f63f44c

Please sign in to comment.