help-typescript

11339 threads · Page 21 of 227

Typescript Enum limit 3 messages
Open
Type validation works but not autocompletion when using `this` to access class member 2 messages
Open
`noImplicitAny` doesn't protect against implicit `any` generics? 😱 57 messages
Open
Correct way to iterate over keys of an object? 18 messages
Open
Type that restricts a string to lowercase characters and hyphens 35 messages
Open
Curried type? 4 messages
Open
Types not narrowing with discriminated union 23 messages
Open
Custom JSX parser with type checking 9 messages
Open
'undefined' property check inside map function 4 messages
Open
Decorator issues in monorepo 16 messages
Open
Doc/annotate a method's function parameter 6 messages
Resolved Node
Infer props from function 4 messages
Open React Tooling
Implementing an interface with an overloaded method 7 messages
Resolved
I'm trying to create a helper method for a jasmine spy pattern that I'm repeating a lot in my tests 2 messages
Open
extending the interface with type is not working 11 messages
Open
Function which has different return types based on the input, not sure how to handle `unknown` 7 messages
Open
Why don't I get an error on this potential strictNullChecks violation? 38 messages
Resolved
Can't properly type a function with a conditional type parameter 9 messages
Open
Return object shape from infered keys on parameter 12 messages
Resolved
Why won't the code start? 7 messages
Open Node
Mapping types via key 68 messages
Resolved
Type never 2 messages
Resolved React
"not assignable to type 'never'" 8 messages
Open
Self-referencing types 12 messages
Resolved
Types not displaying properly 80 messages
Resolved
Question about inheriting and "calling child functions"? 48 messages
Resolved
Path Aliases inside of Composite Projects (w/ Project References) 4 messages
Open Tooling Node
loosening a mixed union of tuples 32 messages
Open
TypeScript Still Thinks Property Might Be Null After Null Check 6 messages
Resolved Node
How to write test for checking if a tsx component's type check is working properly? 41 messages
Open React Tooling
Preferred way to obtain values within a form on submit, React + TS 5 messages
Open React
"Extending" as class type with runtime-assigned members 11 messages
Resolved
Type that returns a random number 7 messages
Open
calling functions by name with expected arguments? 10 messages
Open
My `gd` (go to definition) shortuct goes the *.d.ts instead of a souce_file.ts 5 messages
Open
I'am having troubles getting the return type of a generic functions. 36 messages
Open
Typescript not able to see i've checked for null or undefined in closure scope? 5 messages
Open
Type-safe spread args 109 messages
Open
Making a ternary function caller type-narrow a non-param type, is it possible? 12 messages
Resolved
Full Stack Engineer Position: Join Our Dynamic Team! 3 messages
Vue React Resolved Angular Tooling
How can I take functions arguments in an interface to be an array 72 messages
Open
Mapping function ...args by string name 2 messages
Resolved
How do I type an object such that its keys must be from a union of literals, but non-exhaustive? 7 messages
Open
Arbitrary amount of different type parameters 798 messages
Open
Not sure whether this typeguard is possible 30 messages
Open
Re-exported type from library doesn't export properties 4 messages
Open
Create non colocated ambient declaration file for an arbitrary extension 17 messages
Open Tooling
Object registry of name => object with that name 2 messages
Open
Mapping record with all types 8 messages
Open
Curious why the union type is not being narrowed down when the variable is declared with const field 7 messages