I have found some project on Angular 1.x where user can move focus to next control by pressing Enter key. 'use strict'; app.directive('setTabEnter', function
I have a function inside ondissmiss callback options.modal.ondismiss = () => { console.log("its working"); this.detectChanges(); this.isPaying = false
Hello this is the first time I qm putting question on stackoverflow. I am developing an application in angular2: v2.1.0 (typescript- v2.0.10). I am using "ng2-
app.component.ts @ViewChild('calendar') calendarComponent: FullCalendarComponent = <FullCalendarComponent>{}; calendarOptions: CalendarOptions = {
I'm trying to scrape different websites using puppeteer. As I'm using puppeteer-extra for that (for their stealth-plugin), I've decided to use their anonymize-u
I'm going to test typescript(inversify) code using jest. Below mentioned the code that use to test a controller method. describe('Test UserController',() =>{
I don't understand why it can't find it. $ cat tsconfig.json { "compilerOptions": { "sourceMap": true, "target": "es6", "jsx": "react", "typ
In my react and typescript app, I use: onChange={(e) => data.motto = (e.target as any).value} How do I correctly define the typings for the class, so I woul
I have a tricky Typescript problem I can't seem to solve. I would like to infer values based on a generic. However, the catch is the inferred types needs to com
I have 3 TypeScript projects below: root-config parcel, let us call it my-app in-browser utility module, let us call it api All the projects above were generate
I am looking for efficient method to modify my object list which looks something like this: const pets = [ {type:"Dog", name:"Spot"}, {type:"Cat"
I have a project with fastify, apollo server fastify and nx. I want to add a script to build my code and run the js files. the problem is that if I make any cha
I am getting File node_modules/@types/webrtc/index.d.ts is not a module with this code: import * as webrtc from "webrtc"; const peerConnection1 = new RTCPeerCo
Question I am using socket.io-client with typescript. When creating a socket instance, I set a token property in the auth of the Socket options, but an type err
I'm new to using WebStorm (v2018.2 on Windows 7) and trying to work with TypeScript. And I am getting following error, despite trying many combinations of the T
The DefinitelyTyped definition of the Node built-in IncomingMessage (the type of req in the (req, res, next) arguments) has defined url to be nullable. Here's t
Attempting to convert this project over to jest using these instructions. I have everything working except for the files that use the paths configuration: "pa
I'm trying to trigger a transition bound to a boolean property, but this doesn't seem to fire. Here is a cut down version of my animation trigger trigger( '
I am creating a new react app and trying to configure webpack compiler from scratch. The issue happens when running the build command with webpack -c config/web
Given the following code: var arr = [1,2,3,4,5]; var results: number[] = await arr.map(async (item): Promise<number> => { await callAsynchron