Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 9be0ed6

Browse files
authored
fix: broken import (#35)
1 parent 54e8c6e commit 9be0ed6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/generate-plugin-dts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ export type ${pascalCase(ruleName)}RuleOptions = ${ruleOptionTypeValue};
151151
await writeFile(
152152
join(workspaceDirectory, 'types.d.ts'),
153153
`${ruleOptionImports.join('\n')}
154-
${hasPluginParsers ? `export type { Parsers } "./parsers";` : ''}${
154+
${hasPluginParsers ? `export type { Parsers } from "./parsers";` : ''}${
155155
hasPluginParserOptions
156-
? `export type { ParserOptions } "./parser-options";`
156+
? `export type { ParserOptions } from "./parser-options";`
157157
: ''
158-
}${hasPluginSettings ? `export type { Settings } "./settings";` : ''}
158+
}${hasPluginSettings ? `export type { Settings } from "./settings";` : ''}
159159
160160
export interface Extends {
161161
${pluginConfigs

0 commit comments

Comments
 (0)