help-typescript

11339 threads · Page 73 of 227

React.CSSProperties doesn't seem to work with type guard. 55 messages
Open React
Im following a tutorial. Hes not getting an error but i am" 3 messages
Resolved Node
No type resolution of CJS package imported from ESM 2 messages
Open Tooling Node
type / interface union gives me an error 4 messages
Resolved
Type error: This expression is not callable. on mongo .findOne() 12 messages
Open
Need help extending Typescript LSP 15 messages
Tooling
Does type intersection of object and primitive have sense? 37 messages
Resolved Tooling
Hey i need help with typescript. Im willing to pay for the comission please contact me! 2 messages
Open Node
Compilation to es2021 not working 2 messages
Open
Dynamically specify the type of the returned object 4 messages
Resolved Node
Allow any string but object keys 9 messages
Open
Compile to Es2021 8 messages
Open Node
Extra conditional branch causing error 11 messages
Open
Return type after assign to a const is different to return type without assign? 11 messages
Open
How to extract types from a constant 6 messages
Open
give zod array of objects, only delete erring ones and keep legit ones 13 messages
Resolved
I want to validate an image in a typescript using yup 6 messages
Open React
Documentation for typeof variables in Return Type 43 messages
Open
Map Tagged Union 10 messages
Open
How do I create a function whose parameters are defined in a look-up array somewhere else? 8 messages
Resolved
How do I fix this use of Parameters? 14 messages
Open
Is there a way to keep type declarations in d.ts files private? 13 messages
Open
An unhandled exception occurred: The service was stopped / Angular 17 5 messages
Resolved Angular
Using guard, but without if statement 3 messages
Open
How to properly narrow to interface 9 messages
Open
Duplication 10 messages
Resolved
declaring types of properties at extended classes 18 messages
Open Node
Is anyone else getting a safety message from Chrome when trying to access the site? 3 messages
Open
how to add smart banner 2 messages
Open React Tooling
import.meta.dirname 7 messages
Resolved Node
Path is not being converted in common js style. 9 messages
Open
error not displaying line 6 messages
Open
Code Review (if possible) 26 messages
Open React
Why can't I pass fewer arguments to a function after assigning it to a function with fewer parameter 14 messages
Open
Disable auto select text in input on popover open 2 messages
Resolved
properly setting up node-ts and typescript for a project 22 messages
Open Tooling Node
Typing dynamicaly imported classes 12 messages
Resolved
How to handle no-unsafe-declaration-merging without violating the DRY principle? 10 messages
Open
Type for values in an array where another key equals a value 8 messages
Resolved
How do I type new URLSearchParams(new FormData(e.target)) 6 messages
Open React
Debugging/logging in a sub-package 23 messages
Resolved
How to combine keys in typescript, and if repetitions appear, then combine types? 16 messages
Open
How to make a Record of extended class types 20 messages
Resolved
Conditional Types 4 messages
Resolved
Type for values in possibly undefined array 11 messages
Resolved
Correctly type API datas to Component props 34 messages
Open
dynamic interface of object with ordinal numbers as keys? 11 messages
Open React Node
Is there a more concise way of providing default of possibly undefined properties? 8 messages
Resolved
zod + drizzle and custom error message 59 messages
Open Node
Enforce loose argument type on function signature 28 messages
Resolved