728x90
When we code with a typescript, we can see 2 extensions of it.
CASE .tsx
In this case, it means for files that contain JSX
TSX file is a TypeScript(.ts) file witten using JSX syntax.
It contains code that is most likely part of a single-page or mobile application
We usually open this in source code editors like VSCode
CASE .ts
In this case, it means for pure TypeScript files
.ts files have differences with .js
If you want to know about it,
Click Here to find out.
End
References
728x90
'Development Study > Frontend' 카테고리의 다른 글
[TypeScript] TypeScript Grammar - 02 (0) | 2023.01.07 |
---|---|
[TypeScript] TypeScript Grammar - 01 (0) | 2023.01.07 |
[배경지식] CSS 프레임워크를 알아보자 (1) | 2022.12.31 |
[배경지식] JavaScript? TypeScript? 이 둘의 차이는 무엇일까? (0) | 2022.12.31 |
HTML + CSS 파일 연동하는 방법 (0) | 2022.11.21 |