I have a project created from create-react-app and is in typescript, I want to add suport for custom react-scripts without eject so what would be the best way t
I trying to save data to a mongoose model on NextJS page. I get a typescript error on this line: await User.create(data) This expression is not callable. Each
I have a simple loader component import React from "react"; import { Backdrop, CircularProgress } from "@material-ui/core"; import { makeStyles } from "@mat
I have this error for a particular part in the code when accessing this.$vuetify in my Nuxt.js app. ERROR ERROR in components/equipment/QuickInfoCard.vue:21:
I have this error for a particular part in the code when accessing this.$vuetify in my Nuxt.js app. ERROR ERROR in components/equipment/QuickInfoCard.vue:21:
How do I define the type for imported json? For example { "things": "foo" } interface Data { things: String, another?: String } import data from './data
I'm trying to test that two async functions. The problem is that one of the functions is called every 10 seconds automatically. I tried to use tick() or flush()
It is my first time publishing package to NPM. I have published simple React + TypeScript component to NPM, but when I installed and tested it, I am getting the
I try to get the path information as follows: const typeChecker = program.getTypeChecker(); const importFileSymbol = typeChecker.getSymbolAtLocation(
I try to get the path information as follows: const typeChecker = program.getTypeChecker(); const importFileSymbol = typeChecker.getSymbolAtLocation(
I've nx monorepo having React TypeScript app. When I'm trying to use chrome in any of .ts file, VSCode is reporting a error saying Cannot find name 'chrome'. I'
I have object like { labels: ["city A", "city B"], data: ["Abc", "Bcd"] }; I want to convert above object as below array of json [ { labels
I'm using the TypeScript library "Automapper" in my NestJS backend to convert an answer of MongoDb/Mongoose to an DTO. That's how the answer looks like: { "
I have a demo here I'm just trying to create a simple app where I pass data to a component and then display that data So I have the data which is an array of ob
Previously, I used to be able to do CMD+SHIFT+p > Organize imports and this would both sort and delete unused imports. This functionality seems to have broke
I'm using ngx-translate in service. Exactly in this function. @Injectable() export class StartService { constructor(private translateService: Trans
Using "svelte-routing" because I need to load a single page from lots of different urls , with the different urls serving as parameters. For example if a client
I have a main component that passes down multiple refs to Panels component like so import { useRef } from 'react'; import Panels from './Panels'; export const
I want to add tailwind to storybook. So that Stories will render just like it will render on web. I used create-react-app project-name --template typescript to
I have an API built with Adonis 5 (core version 5.4.0). The tests are made with Adonis' own runner, japa (version 3.1.1). As per the Adonis documentation, I bui