What is the correct index signature for the following class? class MyClass { [index: string]: Promise<void> | Promise<MyType>; // not working p
I'm using JEST for unit testing my express routes. While running the yarn test all my test case are getting passed, but I'm getting an error Jest did not exi
I am using Jest, Enzyme and Typescript, but for some reason certain imports are not working... they are undefined. For example, I have import ReactMarkdown from
I am new to React and TypeScript. I want to toggle a boolean state (true/false) with a handler function. I've read other posts about how to do this in ES6 but
Why typescript keep giving me No inputs were found in config file error? When I use tsconfig.json in vscode, but when I try to build it, it gives me a 'No input
I have Angular Material dialog , where I updating table clicking change status. I need to get value from radio button in my dialog Here is full working exampl
Let's assume a monolithic web service. The architectural design is based on the DDD and divides the domain into sub-domains. These are structured according to t
When i am trying to do (BigInt(Generator) ** this.privateKey) % BigInt(Prime) i am getting error: Exponentiation cannot be performed on 'bigint' values unless
I'm struggling to get absolute path to work in a Vite react-ts project. Here's how I created the project npm init @vitejs/app npx: installed 6 in 1.883s √
I use original Javascript function function gtag(){dataLayer.push(arguments);} then got error: error TS2554: Expected 0 arguments, but got 3. when used like
I have a very simple functional component as follows: import * as React from 'react'; export interface AuxProps { children: React.ReactNode } const a
I'm almost finished developing my application with ionic and angular. Unfortunately, I'm totally stuck. I can't build my application (on android) anymore. Here'
I'm trying to make a simple API using typescript and NodeJS but when I run my code I get this error "This module is declared with using 'export =', and can
When I try to start my app on Heroku I got the following stack trace. It is just a basic ts.app like you see with ts-node and nodemon. I am really interested in
I was looking to deploy my Nodejs/TypeScript web application to my cpanel shared hosting. But, I am getting an error: * Cloudlinux NodeJS Selector demands to s
I believe the default behaviour is to default the Year navigation to the current year with 10 years prior as the minimun date and 10 years forward as the maximu
I am adding cursor animations to a React/Typescript project and in researching came across a CodePen (Animated Cursor React Component) that works perfectly well
I and my team are working on an angular application from more than a year now. As part of our code refactoring process we want to delete unused or dead code fro
I have some problem initializing custom blocks I created blockly custom blocks to modal export const ConditionBlocklyBlock: Block[] = [ { type: 'SUM_MAT
I'm writing a React app using TypeScript. I use material-ui for my components. I'm writing a custom wrapper for material-ui's Button component. It looks like th