Skip to main content

Questions tagged [typescript]

TypeScript is a typed superset of JavaScript that transpiles to plain JavaScript. It adds optional types to JavaScript. This tag is for questions specific to TypeScript. It is not used for general JavaScript questions.

typescript
0 votes
0 answers
15 views

Form Submit Event is not being trigged from Button with type Submit inside Form

I'm encountering an issue with a custom LoadingButton component in my React TypeScript project using the Material-UI (MUI) library. The problem arises when I use this LoadingButton within a form that ...
K Bariya's user avatar
1 vote
0 answers
17 views

Sub folder that does not import with my folder

I am making an application where you can import a folder from your PC and it will put it in my Angular application, except that my problem is that when I want to import a folder which includes sub-...
ZeDi13's user avatar
  • 11
0 votes
0 answers
5 views

Firebase-admin dependency farmhash-modern throws webassembly error

I'm trying to configure firebase-admin SDK on my nextjs + TS project. Whenever i try to invoke any SDK function, i get a webAssembly error. In my case, i am trying to configure a middleware for the ...
Buchi's user avatar
  • 1
1 vote
1 answer
16 views

Eslint 9 add a rule to existing configuration

I have a ES9 config that looks like this (eslint.config.js): import globals from 'globals'; import pluginJs from '@eslint/js'; import tseslint from 'typescript-eslint'; import stylistic from '@...
Marvin3's user avatar
  • 5,941
-2 votes
0 answers
20 views

Unable to deploy react native web on hostinger

I tried to deploy my react native web application project on hostinger from github but i dont get to see my app from the client side instead i see the default home page i deployed from github to ...
chukwuma kelechi's user avatar
0 votes
0 answers
20 views

Property 'object' is incompatible with index signature. Type 'type' is not assignable to type 'never'

Hello i have trouble when i build my next js app. it says .next/types/app/(dashboard)/approval/view/page.ts:28:13 Property 'surat' is incompatible with index signature. Type 'SuratApprovalType' ...
muntun's user avatar
  • 53
1 vote
1 answer
25 views

Angular Unit Testing - Setting a Property in Mock to Null (spyOnProperty)

I'm having trouble doing a negative test of an ngIf statement that looks at a property on my authService. I have a mock provider already, and the positive version of this test works great. I can see ...
Rusty Shackleford's user avatar
0 votes
0 answers
9 views

Cocos Creator 3.7 Programmatically editing animated clips question

Creator version: 3.7.2 Target platform: Chrome Problem: Why doesn't the animation move when using a script to edit the Animation animation, I've confirmed that the track is already mounted on ...
rikkkum luo's user avatar
0 votes
0 answers
8 views

Node App Deployment on Vercel giving a Not Found error

I'm trying to create a small hobby project to scrape real time stock prices using a simple NodeJS app. I came across a couple of posts online saying Vercel would be a good platform to host a free tier ...
Shubhankar Agrawal's user avatar
0 votes
0 answers
13 views

Become relative import when `buf generate` with `google.type.Date` in TypeScript

When I ran buf generate on a file that included google/type/date.proto, a pb file containing a relative path was generated. However, there is no file with the specified path. The language is ...
hirano00o's user avatar
0 votes
1 answer
18 views

Selenium with Typescript and Chromium

I'm wondering what forBrowser I'm supposed to use in Typescript if I'm using Chromium as a browser. forBrowser('chrome') doesn't work. I confirmed Selenium works with the setup I have (I made a test ...
Just Me's user avatar
  • 111
0 votes
0 answers
37 views

Main.Ts is missing Typescript How to solve this? [closed]

I keep getting this error running my code d:\eight_web_app\webroot\login28.com\EightWotc\Wotc\src\main.ts - Error: Module build failed (from d:\eight_web_app\webroot\login28.com\EightWotc\Wotc\...
user13269772's user avatar
-1 votes
0 answers
12 views

How to use subdomains and routing after Clerk authMiddleware() deprication?

I need to code this: TypeScript export default authMiddleware({ publicRoutes: ['/site', '/api/uploadthing'], async beforeAuth(auth, req) {}, async afterAuth(auth, req) { //rewrite for ...
user25541224's user avatar
0 votes
0 answers
9 views

Module '"@clerk/nextjs"' has no exported member 'auth'

I am implementing Clerk Js authentication on my next app. import Link from 'next/link'; import React from 'react'; import { UserButton, auth, useAuth } from '@clerk/nextjs'; // import { auth } from '@...
Koza's user avatar
  • 1
-1 votes
0 answers
23 views

Catching errors with the lint:eslint script in the lit typescript starter project?

I'm testing the lint:eslint script in the lit element typescript starter project. I added a property with undefined any like this below the name property: /** * The name to say "Hello" ...
Ole's user avatar
  • 45.2k

15 30 50 per page
1
2 3 4 5