help-typescript

11339 threads · Page 226 of 227

How can I extend a DOM type with a missing method? 2 messages
Angle bracket type argument with index signature 20 messages
can subclass modify converters in baseclass 74 messages
Property 'id' does not exist on type 'User | GuildMember | APIInteractionDataResolvedGuildMember... 2 messages
Node
Issue with Typescript failing to infer default types 8 messages
Unsafe argument of type `IServerError` assigned to a parameter of type 3 messages
regex dynamic replacement 5 messages
How should I make sure that each case is handled in this situation? 8 messages
Is there define a type guard always returns true in a way the compiler can understand? 4 messages
Node complains about 'MODULE_NOT_FOUND' for compiled project 5 messages
Node
(FIxed) Any good github action for building the project? 3 messages
Generic object[] type 7 messages
React
Behavior of keyof on index signatures 9 messages
How to make it so that an array can only have one or two values 5 messages
Node
parameter error 13 messages
Node
runtime complexity of filter, map, sort 5 messages
Node
Correct way to import? 4 messages
type for array of object with same two keys 12 messages
ESM Require Error 58 messages
Problem with fetching github page 3 messages
TS doesn't understand a closure can make a variable true 5 messages
Return type based on parameter? 5 messages
Resolved
Extending an existing value with a new property, and matching that type to the expected one 5 messages
is this import {type } valid typescript syntax ? 24 messages
distinguishing `true | false` type from `boolean` type 17 messages
Is there a standard practice for housing global types declarations in a project? 14 messages
Node
Argument of type 'MediaDeviceInfo[] | null' is not assignable to parameter of type 'MediaDeviceInfo[ 49 messages
React
unexpected type evaluation. possibly due to distributive conditionals or deferred type evaluation? 8 messages
assert object of string | defined 3 messages
Understand as const example 4 messages
Type assertion problem 19 messages
Node
Discriminated Union without discriminator? 6 messages
Using TypeScript's runtime to do runtime type checking 9 messages
Generics 12 messages
Common pattern for function return type conditional on whether function should throw error or not? 9 messages
TS LSP is still checking node_modules even with skipLibCheck 8 messages
Type constraint issues with generic to get params for a class method 17 messages
Node
Type conversion error 15 messages
Angular
Browser not sending HTTP-only cookie to cookie origin 7 messages
How to get conversion of object in | operator? 15 messages
Node
How to extend unknown type to something (koa-bodyparser) 8 messages
typescript worth it without having an IntelliSense? 3 messages
Adding documentation to JavaScript file 10 messages
Beginner issue with generics and union types 13 messages
How come T['length'] is possible? 3 messages
Function accepting objects of given shape 12 messages
full screen 4 messages
Conditional type and the corresponding logic 34 messages
React
How to type keys of a Console to iterate over them? 6 messages
Lodash help 2 messages
Node