Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

docs: set jsx as preserve in tsconfig.json #44

Merged
merged 1 commit into from
Sep 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/guide/typescript-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"module": "esnext",
// 这样就可以对 `this` 上的数据属性进行更严格的推断`
"strict": true,
"jsx": "preserve",
"moduleResolution": "node"
}
}
Expand Down