We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a168e2 commit ac98dc7Copy full SHA for ac98dc7
src/core/utils.ts
@@ -29,7 +29,7 @@ export const escapeString = (str: string) => {
29
wrap: true,
30
es6: true,
31
})
32
- return text.replaceAll(RAW_RE, '${$1}')
+ return text.replace(RAW_RE, '${$1}')
33
}
34
export const isPrimitive = (val: unknown): val is Primitive => {
35
if (typeof val === 'object') return val === null
0 commit comments