Skip to content

Commit

Permalink
fix: Add TypeScript declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
ezze authored Dec 12, 2020
1 parent 280762e commit 9a6222d
Show file tree
Hide file tree
Showing 4 changed files with 1,506 additions and 1,545 deletions.
5 changes: 3 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM gitpod/workspace-full
# Need to add :latest, otherwise old versions (e.g. of node) are installed
FROM gitpod/workspace-full:latest

RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2
RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2 libgbm1
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"license": "MIT",
"author": "Sebastian Landwehr <[email protected]>",
"main": "dist/index.js",
"types": "types.d.ts",
"files": [
"dist"
],
Expand Down
5 changes: 5 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare module 'mock-argv' {
function mockArg(func: () => Promise<void>): Promise<void>;
function mockArg(args: Array<string>, func: () => Promise<void>): Promise<void>;
export = mockArg;
}
Loading

0 comments on commit 9a6222d

Please sign in to comment.