Comment

Comment by zamalek

So long as you use only string keys you can completely replace YAML with JSON (i.e. you can write JSON to a YAML file). Just make a .d.ts for your config schema and you're done.

Avoiding YAML is this way has saved my sanity on more than one occasion.

parent zamalek 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton