Skip to content

Commit 3058567

Browse files
committed
(#455) Limit text queries to string input
1 parent c6b52f1 commit 3058567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/query.class.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ type Query =
33
id: string;
44
type: "text";
55
by: {
6-
line: string | RegExp;
6+
line: string;
77
};
88
}
99
| {
1010
id: string;
1111
type: "text";
1212
by: {
13-
word: string | RegExp;
13+
word: string;
1414
};
1515
}
1616
| {

0 commit comments

Comments
 (0)