Skip to content

Commit

Permalink
update deps, remove ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed May 2, 2024
1 parent d278548 commit 296169d
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 33 deletions.
4 changes: 2 additions & 2 deletions index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ function base64ToArrayBuffer(base64: string): ArrayBuffer {
beforeAll(() => {
// @ts-ignore
navigator.clipboard = {
writeText: async (text: string) => { // eslint-disable-line @typescript-eslint/require-await
writeText: (text: string) => {
return clipboard.push(text);
},
write: async (items: any[]) => { // eslint-disable-line @typescript-eslint/require-await
write: (items: any[]) => {
for (const item of items) {
clipboard.push(...item.data);
}
Expand Down
56 changes: 28 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@types/node": "20.12.8",
"eslint": "8.57.0",
"eslint-config-silverwind": "83.0.4",
"eslint-config-silverwind": "84.0.0",
"eslint-config-silverwind-typescript": "3.2.3",
"jsdom": "24.0.0",
"typescript": "5.4.5",
Expand All @@ -26,6 +26,6 @@
"vite-plugin-dts": "3.9.0",
"vite-string-plugin": "1.3.0",
"vitest": "1.5.3",
"vitest-config-silverwind": "8.0.5"
"vitest-config-silverwind": "9.0.2"
}
}
1 change: 0 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {defineConfig} from "vitest/config";
// @ts-ignore
import {frontend} from "vitest-config-silverwind";

export default defineConfig(frontend({
Expand Down

0 comments on commit 296169d

Please sign in to comment.