4 ms·
That's a valid point. I think that TS might also lack constraints for object keys and values (like matching them against a regex). After thinking for a while,
by Matheus28 4y ago
That's a valid point. I think that TS might also lack constraints for object keys and values (like matching them against a regex).
After thinking for a while, I think that json schema might be the best approach to it (possibly generated from jsonnet if complicated enough).