Skip to content

Commit

Permalink
feat: inspector 增加渲染hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rain120 committed Oct 11, 2024
1 parent 4c4cc09 commit a79c460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inspector/src/utils/selector/xpath.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function isXPath(str) {
export function isXPath(str: string) {
const regex = /^([(/@]|id\()/;

return regex.test(str);
Expand Down

0 comments on commit a79c460

Please sign in to comment.