JSON-typescript
TypeScript type information for compile-time validation of JSON objects.
How to use this
- Install this package
npm install --save-dev json-typescript
- Import this package
;
- Check to see if json types are validated correctly
; // ✅ This should be OK; // ⛔️ This should NOT be OK ( functions are not allowed ); // ⛔️ This should NOT be OK ( Array is not a JSONObject );
Copyright
© 2018 Mike North, All Rights Reserved.