help-typescript

11339 threads · Page 57 of 227

Assigning a type predicate to function does not work. 12 messages
Open Node
typesVersions not correctly finding declaration files in subfolders, what am I missing? 158 messages
Open
Does anyone know of a better way to establish an auto-curried function with a generic argument? 4 messages
Open
How to transform keys of object with typescript (why it gives error)? 5 messages
Open
Narrow based on input parameter 2 messages
Open
function with parameters 2 messages
Open
`typeof value == "function"` is not callable 12 messages
Resolved
Extends Behaves Differently Depending on Evaluation? 7 messages
Resolved
Default generic type if constructor is omitted 8 messages
Resolved
Zod and Postgres JSONB and pg 43 messages
Open
Help me with this 2 messages
Open
Implicit any but... 6 messages
Open React
Why doesn't this interface require declare global? 6 messages
Resolved
A clean way to delete a field from an object 17 messages
Open
Is it possible to declare globals specific for a single file? 32 messages
Resolved
Is there any way to format and make prettier my compiled JavaScript files from TypeScript files? 5 messages
Node
Converted JS/JSX app to TS/TSX | Can´t find image path?! 8 messages
React
Object.freeze an object with a setter incorrectly reports setter as readonly? 10 messages
Why doesn't narroring work? What did I do wrong? 8 messages
Open
Help with record with different value for each key 15 messages
Open Node
How can I ensure an array contains every key of an object type? 4 messages
Open
all variables became global 25 messages
Resolved
Library with better typed default methods 4 messages
Open Tooling
Depending on the Generics do xyz 37 messages
Resolved Node
Make generic optional by-default and required otherwise 6 messages
Open Node
Which approach to mutually exclusive properties is typically recommended? 12 messages
Open Node
Why is this type not narrower? 8 messages
Resolved
Is it possible to obtain a type from the first letters of another type? 5 messages
Open
Typescript cannot detect the type ? 4 messages
Open
Contributing to DefinitelyTyped 19 messages
Open
Common code with multiple projectsMono 9 messages
Open Tooling
`declare global`. `:` and `=`. When to use what? 25 messages
Resolved
Why am i getting the error ts(2322) and how can i write this function to avoid it? 73 messages
Resolved
function overloads default value 17 messages
Open
Help creating a very complex type 122 messages
Resolved Node
TypeScript Interface and Method Parameter Mismatch 28 messages
Open
Generics and optional class props 19 messages
Resolved
need help with declaring generic types 2 messages
Open Node
discriminated union from enum 24 messages
Resolved
Trying to run library @jorgebodega/typeorm-seeding.. 17 messages
Open Node
(SOLVED) Check for properties on FormData type 9 messages
Resolved React
Help understanding Conditional Types 2 messages
Resolved React
Type inference not working for string or number in template literal Type 6 messages
Open
How shared interfaces into a monorepo? 2 messages
Open React Node
Generically wrapping a function to remove first parameter and add new one at the end? 2 messages
Open
<node:net>.Socket event types 27 messages
Open Node
jest testings in .tsx 5 messages
Open React
Must be of type 'X' but here has type 'X | undefined' – erm, no?? 14 messages
Open
Making generic variadic parameters work in simple object pool 5 messages
Open
How to improve my TypesConverter to work with Type Array check code 6 messages
Open