TypeScript で例えば
export type Some = "a" | number
みたいになってたら
{ exports: { Some: { union: [{literal: "a"}, {jsType: "number"} ]}}}
みたいなやつを吐いてくれるやつないかな (実際はもうちょっと面倒になりそうだが
ts-morph を使って頑張れという雰囲気がある
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.