Skip to content

Commit

Permalink
minor fix (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
stutkhd-0709 authored Feb 8, 2024
1 parent d3904e0 commit 5c088f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export const generate = ({
```

それでは、これらを組み合わせて template から関数の文字列を生成する関数を実装します。`packages/compiler-core/compile.ts`というファイルを新たに作成します。
`packages/compiler-core/codegen.ts`
`packages/compiler-core/compile.ts`

```ts
import { generate } from './codegen'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function parseChildren(
}

if (!node) {
// 上記の条件に当てはまらなかった場合位はTextNodeとしてパースします
// 上記の条件に当てはまらなかった場合はTextNodeとしてパースします
node = parseText(context) // TODO: これから実装します。
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export const generate = ({

Now, let's implement a function that generates a function string from a template by combining these. Create a new file called `packages/compiler-core/compile.ts`.

`packages/compiler-core/codegen.ts`
`packages/compiler-core/compile.ts`

```ts
import { generate } from './codegen'
Expand Down

0 comments on commit 5c088f5

Please sign in to comment.