Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Dec 30, 2024
1 parent 2681684 commit 531a4af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/twoslash-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,10 @@ export function createTwoslasher(createOptions: CreateTwoslashVueOptions = {}):
handbookOptions: {
...handbookOptions,
/**
* Ignore ts 1184 error that declare keyword can't be used in function.
*
* https://github.com/vuejs/language-tools/pull/5090/files
* This should be removed after @vue/language-core@2.2.1
* The following line should be removed when @vue/language-core@v2.2.1 is released
*/
errors: [...handbookOptions.errors ?? [], 1184],
keepNotations: true,
Expand Down

0 comments on commit 531a4af

Please sign in to comment.