Peter looks at how to call a JavaScript function from your TypeScript code and do it in a type-safe way. Along the way, he dramatically simplifies a Backbone application by integrating Knockout. I ...
Within this class, you can test to see which kind of object you've been passed by looking at the ProductType property and do the right thing with the object. That test acts as a type guard to ensure ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
VS Code extension for keeping your TypeScript code organized by grouping and ordering class members. TypeScript Code Organizer is a VS Code extension for organizing TypeScript source code in a project ...
VS Code extension for keeping your TypeScript code organized by grouping and ordering class members. You can invoke command TypeScript Class Organizer: Organize Current File by using the shortcut Ctr ...
In TypeScript 3.5, the type checker verifies that all provided properties belong to some union member and have the appropriate type. When assigning to types with discriminant properties, the language ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results