Skip to content

Commit 396be54

Browse files
committed
fix plugins type check
1 parent ad7ecef commit 396be54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webdoc-parser/src/symbols-babel/build-symbol-tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default function buildSymbolTree(
134134
file: string,
135135
source: SourceFile,
136136
config: LanguageConfig,
137-
plugins: string[],
137+
plugins: Array<string | [string, any]>,
138138
): Symbol {
139139
const moduleSymbol = SymbolUtils.createModuleSymbol();
140140
let ast;

0 commit comments

Comments
 (0)