2022-03-01から1ヶ月間の記事一覧
type LooseAutocomplete<T extends string> = T | Omit<string, T>; TypeScript Tip #12 Ever wanted just a _bit_ of autocomplete?Here, we create a TypeScript helped called LooseAutocomplete which gives us autocomplete while also allowing arbitrary values.Picked up this ti</string,></t>…