Notice
Recent Posts
Recent Comments
Link
목록F4. Library of Languages/TypeScript (TS) (1)
Silver Library (Archived)
How to implement typescript to the existing react app?
Suppose you installed react with npx create-react-app and install typescript on it as well. And you need a quick solution of it. Here is how I did. npm install --save typescript @types/node @types/react @types/react-dom @types/jest Add tsconfig.json with tsc --init Modify App.js and index.js to tsx. You will see errors. This means you need to define types for its error to be removed. Index.tsx w..
F4. Library of Languages/TypeScript (TS)
2023. 1. 25. 21:29