Skip to content

Commit 740c16e

Browse files
committed
add pnpm check script
1 parent b120c4d commit 740c16e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
},
2121
"scripts": {
2222
"build": "rollup -c",
23+
"check": "tsc --noEmit",
24+
"check:watch": "tsc --noEmit --watch",
2325
"test": "ava",
2426
"prepare": "npm run build",
2527
"prepublishOnly": "npm test"

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export const printers: Record<string, Printer> = {
7878
'svelte-ast': {
7979
print,
8080
embed,
81-
// @ts-expect-error Prettier's type definitions are wrong
8281
getVisitorKeys,
8382
},
8483
};

0 commit comments

Comments
 (0)