help-typescript
Where to put the interface definition
Open
trying to use the google translate api it works in my index file but not in my navbar.html
Open
Angular
Map "form" -> `HTMLFormElement`?
Resolved
Modern best practices for throwing and handling errors
Open
Extend type in global
Open
Support __proto__ in object literals?
Resolved
How to swap out these base types with a template?
Resolved
Tuple typescript doesn't work when I want to get the first or second value
Resolved
How can I map a tuple of objects to a tuple with optional elements?
Open
Overloads VS Assertion
Open
TypeScript infers different types for array of objects literals vs array of variables
Resolved
Error on typings, cannot access to custom variable from SessionData
Open
Node
BigInt literals are not available when targeting lower than ES2020.
Open
Generating a Type from a Record<string, string[]>
Resolved
wanna use google translate api to make my page different langueges but dunno excactly how
Open
Angular
Implementing functions that take generic tuples
Open
What is `export =`?
Open
Why can't I pass `Omit<MyUnion, 'one key'>` into a function that requires `MyUnion`?
Open
Type error at writing custom event emitter
Resolved
Node
Using `Lowercase<string>` properly
Open
Help understanding what I need to do?
Open
error TS2578: Unused '@ts-expect-error' directive.
Open
React
Can't reference global type
Open
Array of generics - CIF or better way?
Open
Suck out type of `href` of `Link` component in Nextjs
Resolved
Why do generics need all parameters when functions don't
Open
Print function input and return type using typescript compiler
Open
Tooling
Node
"TypeError: Cannot read properties of undefined (reading 'get') at getTypeAliasInstantiation"
Any idea why TS is not throwing error?
Open
How to parameterise keys in a non-duplicated manner?
Resolved
React
Infering type from generic object
Resolved
dunno how to export my framework (solved)
Open
Intersection of array of types and AllOrNothing
Open
K cannot be used to index type...
Resolved
Using objects that map a discriminant into its type
Resolved
Numeric addition concatenates numbers
Resolved
Seeming to prefer Array rather than Map for when we need to determine if we've seen a value before.
Open
How can I tell TypeScript that a class has the properties of a type?
Resolved
pass @types.d.ts to server
Open
Asserting a key is defined in Record type
Open
Shouldn't this work due to structural typing?
Open
Node
Types within types
Open
React
How can I map over all imported types?
Open
How to best represent these extended classes?
Open
Pros and cons of defining arrays by a base type
Open
i need help with link or href
Open
React
trying to add security to my angular project no erros but doesn t work
Open
Generic to narrow down union to object type with certain key (& keep key type)
Open
Typescript type inference is inferring wrong/non-narrowed types
Open
codepen to angular
Open
Angular