StronglyTyped variables in JS
StronglyTyped is an experiment to introduce strong-typed variables to JS. Its goal is to offer type safety through the direct use of pure JS syntax. It uses Proxy to make this magic happen!
- Declare a typed variable
- Access the value
- Mutate the variable
- I have only tested it using primitives. I am not sure whether it works for Objects.