help-typescript
Access nuxtConfig/.env file in a .ts file without dotenv
Open
Vue
Defining the type of second parameter of a function based on its first parameter
Open
Node
why it give me this error (Property 'map' does not exist on type 'string | string[]'. Property 'm)
Open
React
Issue with correlated unions
Resolved
Argument of type 'string' is not assignable to parameter of type 'number | Date'.
Resolved
Extending Union Types By Interface
Resolved
React
Help understanding a Type with a function inside
Resolved
Async member function overload
Resolved
give type to parsed csv array
Resolved
Node
Why does TS catch the below snippet as a Type Error?
Open
Node
Function with parameters for object method name and arguments
Resolved
How to dynamically create an instance of a nested type/object?
Open
React
Node
Can I declare a type that is an array with specific types at specific positions?
Resolved
With generics, can I specify only one by name?
Resolved
how to make return type of function depend on arguments?
Resolved
Transpiler error
Resolved
Generic parameter with autocomplete
Resolved
Enums, Types and Interfaces in *.d.ts files
Resolved
Node
Transforming object to class instance while preserving the types
Resolved
Type augmentation of library with default export
Resolved
Module resolution issue that is 'fixed' by appending '.js'
Resolved
tsc enum compiler bug
Resolved
How to type a function that receives a zod schema?
Resolved
Node
Reverse inference on object passed to class
Open
isolatedModules not working?
Open
Niche use case of function overloading
Open
Extract type where it has a specified key
Resolved
Conditonal type (how to check for a var inside)
Resolved
How to map from JSON. Getting a JSON.parse Error
Open
Node
Errors when constructing class based on variables
Resolved
Why .d.ts file is not copied by tsc?
Open
How to change component based on prop with typesafety?
Open
TS2538: Type 'undefined' cannot be used as an index type.
Open
Recursively make all fields of a type required (NonNullable not working)
Open
generate type
Resolved
Error in GitHub Actions: 'vitest' module not recognized
Open
Showing as method rather than property
Open
Why implicit any is not always an error?
Open
Deno
enum object literals
Open
Return type not assignable to Record
Open
Distributive object type infers union rather than specific value
Resolved
Enum member not inferred from class property
Resolved
Infer union member on generic property access
Resolved
How to type dynamic imports
Resolved
How to perform Math operations on snowflake:
Resolved
Node
Using paths & extends together
Resolved
How do I tell TS without explicitly typing the return type of a function it's an array of A and/or B
Open
Projects must list all files or use an 'include' pattern.
Open
React
Tooling
packaging module declarations
Resolved
Varying method signatures based on type of argument passed to method or constructor
Resolved