Skip to content

Commit

Permalink
fix: improve typescript options type
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Oct 23, 2023
1 parent 2d3eaa3 commit 8b5cb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Expand Up @@ -128,7 +128,7 @@ export interface OptionsConfig extends OptionsComponentExts {
*
* @default auto-detect based on the dependencies
*/
typescript?: boolean | OptionsTypeScriptWithTypes
typescript?: boolean | OptionsTypeScriptWithTypes | OptionsTypeScriptParserOptions

/**
* Enable JSX related rules.
Expand Down

0 comments on commit 8b5cb99

Please sign in to comment.