일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |
- 삶
- web
- blockchain
- express.js
- Interface
- Props
- typeScript
- REACT
- SSR
- CLASS
- useState
- API
- graphQL
- nextJS
- tailwindcss
- Redux
- 기준
- bitcoin
- concept
- node.js
- CSS
- evm
- hardhat
- middleware
- HTML
- Ethereum
- solidity
- JavaScript
- error
- built in object
- Today
- Total
목록Frontend/Typescript (21)
ReasonJun
The tsconfig.json file is a configuration file used in TypeScript projects to specify compiler options and project settings. It allows you to customize how TypeScript compiles your code and provides control over various aspects of the compilation process. Here are some common attributes that can be configured in the tsconfig.json file: { "compilerOptions": { // ES(JS) version to be compiled- "ES..
In TypeScript, a module is a way to organize code into separate files and encapsulate its functionality. Modules allow you to define and export reusable pieces of code, such as classes, functions, interfaces, or variables, and import them in other parts of your program. TypeScript supports two main module systems: CommonJS and ECMAScript (ES) modules. CommonJS Modules: CommonJS modules are prima..
Generics in TypeScript allow you to create reusable components or functions that can work with different types. They provide a way to define placeholders for types that are determined by the user of the component or function. Generic types are defined using angle brackets () and can be applied to classes, interfaces, functions, and type aliases. Here's an example of defining a generic function: ..
In TypeScript, access modifiers are keywords that determine the accessibility of class members (properties and methods) from outside the class. TypeScript provides three access modifiers: public, private, and protected. These access modifiers control how class members can be accessed and modified. Here's an overview of each access modifier: public: The public access modifier allows class members..
In TypeScript, function overloading refers to the ability to define multiple function signatures for the same function name. This allows a function to accept different sets of arguments or have different return types based on the provided function signature. Function overloading enables you to provide different ways to call a function while maintaining type safety and clarity. It helps in creati..
In TypeScript, the this keyword is used to refer to the current instance of an object or class within a method or function. It represents the context in which a function is called or an object is accessed. The behavior of this can vary depending on the context in which it is used. Let's explore some common scenarios: In Object Methods: When this is used inside a method of an object, it refers to..