サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Wikipedia
www.huy.rocks
In the “Use String as Enum Key” article, we use the keyof typeof keywords to create a union of an enum’s keys. enum Editor { VIM = 'Neovim', EMACS = 'Emacs', VSCODE = 'Visual Studio Code' }; type EditorKey = keyof typeof Editor; // Editor = "VIM" | "EMACS" | "VSCODE" It might not be immediately clear why and how this keywords combination works. In this article, let’s take a closer look. As we alre
This article is inspired by the talk How the TypeScript compiler compiles◹, you should really check it out for a more in-depth understanding about the TypeScript’s compiling process. At a high level, the TypeScript compiler is a tool to help us analyze and compile the TypeScript code into JavaScript (*.js), as well as some type definition files (*.d.ts) or source maps (*.js.map). If the source fil
Recently Added12.11.2022 Zig/Using Zig for Advent of Code 08.31.2022 TypeScript/Test parameter passed into a function with Jest 08.29.2022 TypeScript/Optional Chaining and Code Coverage 08.28.2022 Typescript/Mocking File and FileList in Jest 08.27.2022 TypeScript/Testing localStorage in Jest 06.06.2022 Self-hosting/Migrating docker-compose application to M1 Mac 05.08.2022 Parsing/Recursive Descent
このページを最初にブックマークしてみませんか?
『www.huy.rocks』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く