This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** @desc | |
| * - as const ๋ณ์์์ ๊ฐ์ฒด์ ํค๋ฅผ ๋ฆฌํฐ๋ด ์คํธ๋ง ์ ๋์จ ํ์ ์ผ๋ก ์ถ์ถํ๋ ์ปค์คํ ์ ํธ๋ฆฌํฐ ํ์ | |
| * - extracts literal strings typed keys from object value | |
| * @T <typeof T = object value> | |
| * **/ | |
| export type KeysOf<T = Record<string, unknown>> = keyof T; | |
| /** @desc | |
| * - ๊ฐ์ฒด์ ํค์์ ๋ถ๋ถ ์งํฉ์ ์ถ์ถํ๋ ์ปค์คํ ์ ํธ๋ฆฌํฐ ํ์ . | |
| * - Extract<T, K>์ ๋ฌ๋ฆฌ, ๊ฐ์ฒด ํค์๋ ํ์ ์ถ๋ก ์ ์ฉ. |