일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- error
- JavaScript
- blockchain
- middleware
- REACT
- HTML
- Redux
- built in object
- CSS
- concept
- graphQL
- node.js
- evm
- Ethereum
- hardhat
- nextJS
- tailwindcss
- typeScript
- API
- solidity
- Props
- 삶
- web
- useState
- CLASS
- SSR
- express.js
- bitcoin
- 기준
- Interface
- Today
- Total
목록typeScript (22)
ReasonJun
In TypeScript, type inference refers to the process by which the TypeScript compiler automatically determines the type of a value or expression based on its usage and context. TypeScript's type inference system analyzes the code and infers types for variables, function return values, and other expressions, reducing the need for explicit type annotations in many cases. Here are some key points ab..
/// Any // All types are possible. However, in this case, there is no reason to use typescript, so it is rarely used. let hello3: any = 'Hello world' hello3 = 123 hello3 = false hello3 = null hello3 = {} hello3 = [] hello3= function () {} /// Unknown const z: any = 123 const u: unknown = 123 // When z is changed to u, all errors occur except for 'any'. // In other words, it is better to use 'unk..
In TypeScript, the type keyword is used to define custom types or type aliases. It allows you to create reusable type annotations to represent different shapes of data, making your code more expressive and easier to understand. Here are the main ways in which the type keyword is used in TypeScript: Type Aliases: Type aliases allow you to create a new name for an existing type. They are helpful w..
TypeScript is an open-source programming language developed by Microsoft. It is a superset of JavaScript, which means that any valid JavaScript code is also valid TypeScript code. TypeScript introduces optional static typing and provides additional features and capabilities that enhance the development experience and help catch errors at compile-time. Here are some key features and concepts of T..