Skip to content

Commit e2d50c7

Browse files
authored
fix: resolve TypeScript compatibility issues with eslint-typegen (#2790)
1 parent 9140c63 commit e2d50c7

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.changeset/eight-camels-refuse.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-vue": patch
3+
---
4+
5+
Resolved TypeScript compatibility issues introduced by eslint-typegen

tools/generate-typegen.mjs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ import fs from 'node:fs/promises'
22
import { pluginsToRulesDTS } from 'eslint-typegen/core'
33
import plugin from '../lib/index.js'
44

5-
const dts = await pluginsToRulesDTS({
6-
vue: plugin
7-
})
5+
const dts = await pluginsToRulesDTS(
6+
{
7+
vue: plugin
8+
},
9+
{
10+
includeAugmentation: false
11+
}
12+
)
813

914
await fs.writeFile('lib/eslint-typegen.d.ts', dts)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy