일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- hardhat
- SSR
- bitcoin
- solidity
- express.js
- 기준
- blockchain
- CSS
- Interface
- tailwindcss
- built in object
- graphQL
- 삶
- Redux
- Props
- web
- HTML
- middleware
- API
- concept
- useState
- Ethereum
- REACT
- node.js
- error
- nextJS
- CLASS
- typeScript
- evm
- Today
- Total
목록Type (3)
ReasonJun
Integer Signed 4 Bytes => export const testTable = pgTable("testTable", { qty: integer("qty") }) Signed 2 Bytes => export const testTable = pgTable("testTable", { qty: smallint("qty") }) Signed 8 Bytes => export const testTable = pgTable("testTable", { qty: bigint("qty", {mode: "number"}) // {mode: "number"} : 2^31 < number < 2^53 // {mode: "bigint"} : 2^63 < number < 2^63 }) serial serial / ser..
The "not assignable to parameter of type never" error in TypeScript occurs when you try to assign a value of a type that is not never to a parameter of type never. The never type is a special type in TypeScript that represents a value that can never occur. This means that any attempt to assign a value of type never to a parameter of type never will result in an error. For example, the following ..
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..