help-typescript

11339 threads · Page 196 of 227

Parameterized Zod schema 11 messages
Open
this inside interface method 52 messages
Open
How to make a display type? 9 messages
Open
How to make function from arguments 55 messages
Resolved
how would i assign a type to this? 7 messages
Open
Creating a Discriminated Union from a fixed type 4 messages
Resolved
Convert leaf nodes of a ragged object to their paths 73 messages
Resolved
weird name formatting in sql 18 messages
Resolved
fixed 2 messages
Resolved
Returning an intersection of two types 34 messages
Resolved
React Hook Form 2 messages
Open
Generic class inheritance with static factory functions 14 messages
Open
Is it possible to interpolate a string with placeholders and construct an object from it? 5 messages
Resolved
Integer type 7 messages
Open
Simple question I assume, Why are these statements true/false 13 messages
Resolved
Mapping over union array doesnt infer type params 16 messages
Resolved React
Stop typescript trying to compile node_modules 46 messages
Resolved Tooling Node
How to rename void imported from ahooks? 9 messages
Resolved
Passing Functions as Arguments 34 messages
Resolved
Transform object property entries into call signatures 4 messages
Open
How to test new prototypes added to Set 4 messages
Resolved
I need help with this 5 messages
Open Node
Negating Type Predicates 25 messages
Open
Using source-server-query npm package 5 messages
Resolved
Object keys must be other object keys 6 messages
Resolved
String type that matches all strings not starting with underscore 11 messages
Resolved
typescript doesn't know what the value is despite it being narrowed down 10 messages
Open Node
How to extend existing type definitions without overwriting? 6 messages
Resolved
Property 'router' does not exist on type 'typeof route'. 17 messages
Open
SyntaxError: Cannot use import statement outside a module 3 messages
Open Node
A type that forces an array to be const 6 messages
Resolved
How to use ejs correctly in typescript express app? 8 messages
Open Node
using "throw" to prevent undefined but ts still says it is possibly undefined 2 messages
Open Node
How to refactor this? Narrowing type based on the presence of a property 10 messages
Resolved
Infer types when iterating over object keys 14 messages
Open
TypeScript Game Changers? 3 messages
Open
tsc doesn't seem to even read my index.d.ts file 89 messages
Open
New to ts 25 messages
Resolved
file import error Or VSC debug error 10 messages
Open Node
Help with inferring types 2 messages
Resolved React
A Type for a valid javascript variable name 52 messages
Resolved
Top-level 'await' expressions are only allowed when the 'module'..and issue with nodenext for import 39 messages
Open
typedoc erroring for built in typescript types 4 messages
Open
How to make a generic which requires the type to be an enum `<T extends enum>` 6 messages
Resolved
Creating dynamic types that change based on inputs? 11 messages
Open
svg -> The requested module 'XXX' does not provide an export named 'ReactComponent' 12 messages
Open React Node Tooling
Type 'boolean' is not assignable to type 'true' 50 messages
Resolved
Yarn test 7 messages
Resolved
How do you use type assertion with an imported JSON property? 12 messages
Resolved Node
Wrong type is assigned when using generics 10 messages
Open Tooling