Setter and getter that have different types 29 May 2020 ANGULAR TypeScript Setter and getter that have different types TypeScript requires that both the getter and setter have the same type. For example code like this would create a type error. public get size(
Loading popper.js in Jest 11 Dec 2019 ANGULAR Jest Loading popper.js in Jest We recently wrote an angular component, which wraps around Popper.js [https://github.com/popperjs/popper.js] for our core front end team. The documentation
Expression has changed after it was checked 10 Sep 2019 ANGULAR Expression has changed after it was checked In our item component, we set the element role based on whether item is empty or not. If it's empty, then no role
NgRx effects stream subscription 23 Aug 2018 ANGULAR NGRX Rxjs NgRx effects stream subscription NgRx/effects is used to handle side effects in ngrx/store. It listens for actions that are dispatched in an observe stream and then return
TypeScript Type Guard 25 Jul 2018 TypeScript TypeScript Type Guard In our code base, we have a utility function isArray to check whether an input is an Array. function isArray<T>(obj: any)