Skip to content

Commit d3b81cb

Browse files
committed
chore: typo
1 parent d0e30f5 commit d3b81cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function getSurrounding(code: string, start: number, end: number) {
219219
async function transformJsSnippet(code: string, transform: (code: string) => Promise<string>): Promise<string> {
220220
// `{ key: val } as any` in `<div :style="{ key: val } as any" />` is a valid js snippet,
221221
// but it can't be transformed.
222-
// We can warp it with `()` to make it a valid js file
222+
// We can wrap it with `()` to make it a valid js file
223223

224224
let res = await transform(`(${code})`)
225225

0 commit comments

Comments
 (0)