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.

typescript
1 vote
0 answers
19 views

Unable to Resolve Dependencies from EntityRepository in TypeOrmModule. But EntityRepository doesn't exists

I am working on a NestJS project that uses TypeORM. Currently implementing a data feed in the 'command handler' pattern so each user has a customized output from the same endpoint. Error Message - [...
cryxnet's user avatar
  • 155
0 votes
0 answers
8 views

How to Properly Create the Data Architecture for a PERN Stack Application?

I'm building a web application using the PERN stack, and I'm looking for best practices on how to design the data architecture. I just did a basic pernTODO in order to practice my postgressSQL skill a ...
yzkael's user avatar
  • 67
-1 votes
2 answers
46 views

Argument of type 'Number' is not assignable to parameter of type 'string | number | null | undefined'. [plugin angular-compiler]

I got the error with DecimalPipe while converting number My code: Service export interface RoomList { roomNumber: number; roomType: string; amenities: string; price: number; photos:...
ToanTV13's user avatar
-1 votes
0 answers
16 views

Select Multiple area on image using drag and create hotspot in angular 8/ javascript

Hi all, I want to implement a feature where user can select multiple rectangular area on image and create hotspot. Once user click and drag from one position to second position it will draw like ...
Sumit k's user avatar
  • 73
0 votes
0 answers
14 views

Resize Owl-Carousel items when container width changes

I am using ngx-owl-carousel-o and I have a particular problem. I want the owl-carousel to resize the items when the container resizes. This is because I have a side menu that resizes the main content ...
DESTROYER GG's user avatar
0 votes
1 answer
35 views

Angular - Why is my search bar not working well?

dashboard.component.html : <div class="search-bar"> <form class="search-form d-flex align-items-center" method="POST" > <input type="...
Mohamed Seif Ben Salah's user avatar
1 vote
1 answer
24 views

Typehints on keys of an inferred generic param

Task I'm building an utility with following interface: interface F<M extends Record<string, Function>> { ( listeners: M, options: { filter: e => boolean } ): void } ...
jeron-diovis's user avatar
0 votes
0 answers
15 views

Typescript: Circular Definition and Cannot Find Module Errors During Build

I cloned a project from GitHub and encountered some issues while trying to build it. I've already installed all the necessary dependencies using npm install, and I'm running MongoDB through the mongo ...
dawid_Pascal's user avatar

15 30 50 per page
1 2 3
4