Skip to content

Commit 59e9781

Browse files
committed
fix: add includeAugmentation option to pluginsToRulesDTS for type generation
1 parent 26d99fd commit 59e9781

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

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)