help-typescript

11339 threads · Page 156 of 227

Object.entries resolves as `[string, any]` when passed interface key is template string type 22 messages
Open
Array with mini one element and it's "last" function 5 messages
Open Node
Type safe conditional conversion/transformation function 5 messages
Open Node
Can this be considered a TypeScript issue? Record number keys and number template literal as key 8 messages
Open
Installing typescript 2 messages
Resolved Node
Prevent race condition in svelte project? 15 messages
Open
No overload matches this call. 7 messages
Open
Is `?` on a property exactly the same as `T | undefined`? 13 messages
Resolved
typechecker.getSymbolAtLocation returs null (transformer) 3 messages
Open
Help TS infer proper types after guard clauses/early returns 6 messages
Resolved Tooling
Wrap a function and infer types 15 messages
Resolved
is it possible to asynchronously fetch data in class constructor or methods? 6 messages
Open
How to infer Array item type correctly? 10 messages
Open
How can I make the first hook work differently than all the others? 5 messages
Open React
What way do you apply font styles? 6 messages
Open
How to resolve namespaced types for scoped module 4 messages
Open
Dynamic colors as props with string concatenation 14 messages
Resolved React
type parameter to value 5 messages
Open
Pass property of class to method, where value is of specific type 30 messages
Open
Eslint rule for 'in' checks 4 messages
Open
How to allow `children` prop to accept either ReactNode or (item:string)=>void 2 messages
Open React
Recursively filter branches from a tuple. 45 messages
Resolved
How to avoid 'as casting' in this scenario? 7 messages
Open
[compilers] String find-and-replace in AST? 4 messages
Open
Merge Object Array into Single Existing Object 4 messages
Resolved
Why can an explicit type declaration that doesn't produce errors be different than an inferred type? 6 messages
Open
Why am I allowed to assign variable here, that doesn't implement the whole interface? 24 messages
Open
Getting the tsc cli to replace certain import urls with something else 37 messages
Resolved Tooling
convert 17 digit numerical strings to human-parseable format 88 messages
Open
Confused with generics 86 messages
Open
Type annotating a class 21 messages
Resolved
How to redirect to a url using solid-ts 10 messages
Resolved
Sign-in with Enter Key 4 messages
Open React
react-router-dom 4 messages
Resolved
Why is there no error in this ts playground? 13 messages
Open
Issue with asserts keyword and methods 6 messages
Resolved
How can I resolve this cleanup ref issue? 7 messages
Open
is crypto.randombytes secure enough on it's own? 16 messages
Open
Help with react useState hook 23 messages
Open React
Why does throw Error not need new operator 4 messages
Resolved
How can I enforce that an object's nested (maybe deep) objects abide by the same shape? 26 messages
Open
is this type predicate possible? 10 messages
Resolved Node
Transpile TSX to MJS for React files with ESM Node and Typescript 13 messages
Resolved React Node
Generics within JSON like structure 9 messages
Resolved
Dynamic class method narrowing 11 messages
Open
Typing computed object property access + method 7 messages
Idiomatic way to do type transformatio 16 messages
Open
Understanding types. 10 messages
Open
Can I get a Typeguard to work like this? 7 messages
Open React
How to create a parameter only accepting one option from an Object? 8 messages
Resolved