Skip to content

Commit

Permalink
add missing anchor (#2373)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsms committed May 31, 2023
1 parent 02d0f70 commit 173d507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/extras/render-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Although first introduced by React, JSX actually has no defined runtime semantic

Vue's type definition also provides type inference for TSX usage. When using TSX, make sure to specify `"jsx": "preserve"` in `tsconfig.json` so that TypeScript leaves the JSX syntax intact for Vue JSX transform to process.

### JSX Type Inference
### JSX Type Inference {#jsx-type-inference}

Similar to the transform, Vue's JSX also needs different type definitions. Currently, Vue's types automatically registers Vue's JSX types globally. This means TSX will work out of the box when Vue's type is available.

Expand Down

0 comments on commit 173d507

Please sign in to comment.