Skip to main content
The 2024 Developer Survey results are live! See the results

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.

1 vote
1 answer
52 views
+50

Render Error View config getter callback for component RCTModalHostView must be a function (received 'undefined')

I am working on a mobile application in React native (using Expo [SDK :~51.0.18]) Note : I am using Expo router to handle all routing in my project. I am attempting to integrate this new SDK (Lean ...
0xD1x0n's user avatar
  • 713
0 votes
2 answers
93 views
+100

Nextjs with next-intl renders the page twice

I am using nextjs 14 and just integrated next-intl for internationalization. My Problem: If I switch between the browse and my-items page, the fetch script, and the page rendering twice My questions: ...
Peter's user avatar
  • 1,229
1 vote
1 answer
48 views
+500

How to use a Web Worker bundled in an NPM package in a NextJS application

Github Repo to reproduce issue: https://github.com/kyledecot/next-worker-bug I have a NextJS application and an NPM package. The NPM package is bundled using webpack/ts-loader and contains a web ...
Kyle Decot's user avatar
  • 20.7k
1 vote
0 answers
84 views
+50

"ERR_MODULE_NOT_FOUND" error when using TypeScript project references

I'm trying to implement TypeScript's project references to be able import code from a common package between my application's services. This is how the tsconfig.json of the shared package (...
Viriato's user avatar
  • 644