paritytech / opstooling-js

Shared functionality for OpsTooling projects
https://www.npmjs.com/package/@eng-automation/js
Apache License 2.0
0 stars 1 forks source link

Add JSONValue type #11

Closed joao-paulo-parity closed 2 years ago

joao-paulo-parity commented 2 years ago

Would be useful for e.g. https://github.com/paritytech/gitspiegel/pull/92#pullrequestreview-1018173157 as a sane response type for JSON APIs.

As far as I'm aware TypeScript doesn't offer this as a built-in type.