I want to create a base service using a generic class which I wrote below: import { BaseEntity } from './base.entity'; import { Repository } from 'typeorm'; e
I have the code setTimeout(() => { const elementsInput: any = document.querySelectorAll('.Modal__headerEmailInput') elementsInput[0].focus() el
I have this import in my file app.spec.ts: import app from './app'; Which causes this Typescript error 2:17 error Unable to resolve path to module './app'
I have one modal bootstrap, when i click in one svg to edit my data i receive: Uncaught TypeError: e.target.className.indexOf is not a function at HTMLDoc
I have written @HostListener in my AppComponent Class to detect browser close or tab close. I have written this code but it is not working. Kindly help me unde
I have created a tour and I want the items highlighted to be clickable so I added attribute disable interaction to the tour but the items are still not clickabl
<label [invalid]="false" invalidText="" placeholder="Placeholder text"> Middle names (optional) <input ibmText [attr.disabled]="isApplicationLo
I have this type from the d.ts file of an API type EventConfigurations = { Event1: { Enabled?: boolean; }; Event2: { Enabled?: boolean; }; E
I am developing a small Teams app also using the Teams-SDK. I am currently looking for a way to share contents from within my app in Teams (either via a chat or
I have index.html <body> <div id="portal"></div> <div id="root"></div> </body> and want to use the component below
My objective is to define types for my cypress task, written in typescript. I currently have this when I consume the custom task: cy.task('customTask').then(v =
I am new to graphql and react so I can't figure out why the loaded data return object is only available outside the mutation post which produced the data. Could
I have running Angular 12 application and I am integrating the behavior to print report. I am able to achieve the print on button click which opens a new window
<ng-container matColumnDef="jan"> <mat-header-cell [hidden]="true" *matHeaderCellDef style="font-size: 65%" class="white-text" fxHide [fxShow.gt-md]=
I would like to strongly type my jest mocks. To a certain extent, I can make it work but when a class has private properties I'm stuck. An additional question,
There are some answers on how to display Unicode character codes in Angular bindings, but I'm trying to display one dynamically and everything seems to fail. I
I am using the Flyerchat library for the chat application. <Popover isVisible={open} onRequestClose={() => setOpen(false)} from={t
I am trying to make a text editor in the terminal with node and typescript but the ansi escape codes aren't moving the cursor horizontally. THe cursor moves ver
I am using the Flyerchat library for the chat application. <Popover isVisible={open} onRequestClose={() => setOpen(false)} from={t
I've recently implemented dark mode into my app, but having an issue with an error when building the npm package with npm build. The code works, but is there a