[ Fixes ] Router Subscribe – Error TS2769: No overload matches this call
would like to subscribe to NavigationEnd events in Angular 14, while using filter from rxjs. The part of subscribe((event: NavigationEnd) ... causes…
How to Use the Call, Apply, and Bind methods in JavaScript
Call is a function that helps you change the context of the invoking function. In layperson’s terms, it helps you replace…
How to run only specific test spec file in Angular
there is a way to run tests against only one selected spec file. For doing that, we should configure test.ts file inside src folder.…
RxJS : forkJoin vs combineLatest
RxJS (Reactive Extensions for JavaScript) is a library for reactive programming using observables that makes it easier to compose asynchronous or…
Typescript & type definition files (.ts, d.ts)
.ts is the standard TypeScript files. The content then will be compiled to JavaScript. *.d.ts is the type definition files that allow…
npm root & global node_modules
with npm root command, we can locates the local and global node_modules directory. Finding local dependencies isn’t very spectacular because they’re usually…
Understanding Directive composition API in Angular
Angular team introduced a new feature called “Directive composition API” in Angular 15 Version. Let’s understand what is this directive composition in…
How to configure VSCode Settings to use ESLint for Formatting
Let´s say we are working on a project that uses ESLint to manage its code style, and we want to…
Running and debugging Java in VS (Visual Code)
Visual Studio Code allows you to debug Java applications through the Debugger for Java extension. It’s a lightweight Java debugger based on Java…
[ Fixes ] How to fix Git show all file as modified in WSL
When you open your code in Windows, and run git in WSL bash, you will have a big chance to…