We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3058567 commit b67dd46Copy full SHA for b67dd46
index.ts
@@ -71,7 +71,7 @@ const imageResource = (fileName: string) =>
71
fileName
72
);
73
74
-const singleWord = (word: string | RegExp): WordQuery => {
+const singleWord = (word: string): WordQuery => {
75
return {
76
type: "text",
77
id: `word-query-${word}`,
@@ -80,7 +80,7 @@ const singleWord = (word: string | RegExp): WordQuery => {
80
},
81
};
82
83
-const textLine = (line: string | RegExp): LineQuery => {
+const textLine = (line: string): LineQuery => {
84
85
86
id: `line-query-${line}`,
0 commit comments