diff options
-rw-r--r-- | e2e/lib/clipboard.ts | 4 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | yarn.lock | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/e2e/lib/clipboard.ts b/e2e/lib/clipboard.ts index 6cc94cb..46da0b8 100644 --- a/e2e/lib/clipboard.ts +++ b/e2e/lib/clipboard.ts @@ -20,7 +20,7 @@ const readLinux = (): Promise<string> => { }); }; -const writeLinux = (data: string): Promise<string> => { +const writeLinux = (data: string): Promise<void> => { let stderr = ""; return new Promise((resolve) => { const xsel = spawn("xsel", ["--clipboard", "--input"]); @@ -58,7 +58,7 @@ const readDarwin = (): Promise<string> => { }); }; -const writeDarwin = (data: string): Promise<string> => { +const writeDarwin = (data: string): Promise<void> => { let stderr = ""; return new Promise((resolve) => { const pbcopy = spawn("pbcopy"); diff --git a/package.json b/package.json index d91eda8..e45b94e 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "ts-loader": "^8.0.2", "ts-node": "^9.0.0", "tsyringe": "4.4.0", - "typescript": "4.0.3", + "typescript": "4.1.3", "web-ext-types": "^3.2.1", "webextensions-api-fake": "^0.9.1", "webpack": "4.44.2", @@ -6040,10 +6040,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.3.tgz#153bbd468ef07725c1df9c77e8b453f8d36abba5" - integrity sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg== +typescript@4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" + integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== typescript@^3.9.3: version "3.9.7" |