Skip to content

Commit

Permalink
fix: ignore vue runtime types
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Sep 11, 2024
1 parent db7943a commit 40aea05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function stripeTypeScriptInternalTypesSchema (type: any): any {
return type
}

if (type.declarations && type.declarations.find((d: any) => d.file.includes('node_modules/typescript'))) {
if (type.declarations && type.declarations.find((d: any) => d.file.includes('node_modules/typescript') || d.file.includes('@vue/runtime-core'))) {
return false
}

Expand Down

0 comments on commit 40aea05

Please sign in to comment.