Skip to content

Commit 23536a0

Browse files
committed
📝 Add @ts-expect-error to usage instructions
1 parent 925e9b6 commit 23536a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ pnpm i @coderabbitai/ast-grep-langs @ast-grep/napi
1616
import { registerDynamicLanguage } from "@ast-grep/napi"
1717
import { langs } from "@coderabbitai/ast-grep-langs"
1818

19+
// @ts-expect-error Type `StaticLangRegistration` is missing the following
20+
// properties from type `LangRegistration`: `libraryPath`, `extensions`.
1921
registerDynamicLanguage(langs)
2022
```

0 commit comments

Comments
 (0)