variable unionofimport { unionof } from "https://deno.land/x/yano3nora_tsutils@v0.29.0/libs/unionof.ts"; unionof - union type の型照合しつつ string 返すやつ Examplesunionof<'hoge'|'fuga'>('hoge') // 'hoge' unionof<'hoge'|'fuga'>('notExistsLiteral') // compile error type<T>(name: Extract<T, string>) => string