Skip to content

Commit

Permalink
Merge pull request thx#155 from markthree/main
Browse files Browse the repository at this point in the history
fix: add find array type
  • Loading branch information
bigfengyu authored Jun 23, 2022
2 parents 197a371 + 036acd9 commit 82c5664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gogocode-core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ declare module 'gogocode' {
* @param selector 代码选择器,可以是代码也可以将代码中的部分内容挖空替换为通配符
* @param options
*/
find(selector: Selector, options?: FindOption): GoGoAST;
find(selector: Selector | string[], options?: FindOption): GoGoAST;
/**
* 获取某个父节点
* @param level 自内向外第n层父元素,默认值 0
Expand Down

0 comments on commit 82c5664

Please sign in to comment.