castable
castable copied to clipboard
Castable library sanitizes dirty external data by casting all properties at runtime to the types specified at compile time.
How are you. I think that this library is useful. But, I have a problem in programming. I need your help. If the result is json object, and it is...
I want to add a function. and more. ex ``` public cnv(source: any): T { let obj: T = {} as T; Object.getOwnPropertyNames(source).forEach(propertyKey => { const designType = Reflect.getMetadata('design:type', this,...
Be a bit more permissive on what values will result in a `true` from the boolean conversion. Additionally this fixes an issue where an exception is thrown if the value...
While I don't particularly like prefixing with `__` as a method of hiding private methods I think it best to avoid using any kind of name that might reasonably be...
I have encountered issues when multiple dependencies of a project depend on the `reflect-metadata` package. When this occurs I have seen `tsc` fail to transpile the project source. This has,...