Typescript dynamic type check using an interface, json schema, and ajv
More about me https://nathankrasney.com/
קורסים בטייפסקריפט בעברית במבצע
https://nathankrasney.podia.com/b1c1e...
Readme file: https://gist.github.com/NathanKr/f448...
In this video, I show how easy it is to perform a dynamic type check using: a typescript interface, json schema, and ajv.
Using dynamic type check, you can perform run-time validation
Sections:
00:00 - Introduction and motivation
06:40 - Why do we need a dynamic type check and how it's done
09:12 - Validation function implementation
10:30 - Effectiveness of the validation function
14:04 - JSON schema and interface
19:39 - ajv
21:30 - Summary