일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- REACT
- bitcoin
- graphQL
- Interface
- solidity
- Props
- Ethereum
- express.js
- 기준
- 삶
- built in object
- nextJS
- HTML
- evm
- node.js
- error
- JavaScript
- tailwindcss
- middleware
- Redux
- web
- SSR
- CSS
- API
- concept
- blockchain
- hardhat
- useState
- typeScript
- CLASS
- Today
- Total
목록typeScript (22)
ReasonJun
In TypeScript, an enum is a special "class" that represents a group of constants (unchangeable variables). Enums come in two flavors string and numeric. enum means enumerated type. An enum names a set of values and makes them available. Here we can utilize an enum to use a set called PrintMedia with a friendly name instead of a hard-to-remember number. Each PrintMedia enumerated is zero-based by..
Error When installing next.js as follows, an error like the following picture occurred. Cause & Solution: https://www.totaltypescript.com/react-refers-to-a-umd-global Explained: 'React' refers to a UMD global Find out why this error occurs and learn how to fix it. www.totaltypescript.com Personal thought & solution However, personally, I just followed the method provided by next.js, but I didn't..
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..