help-typescript

11339 threads · Page 1 of 227

Short form of `if (variable.something === undefined) {}` possible? 70 messages
Resolved Deno
Disabling error in auto-generated file 12 messages
Open
weird narrowing edge case 10 messages
Resolved
Why is the `userInfo` `SharedUser | undefined` here? 13 messages
Resolved
Key/Value Pairs, Discriminated Unions, and Narrowing in Function Arguments 18 messages
Open
Providing a type argument and inferring the keyof without providing it 17 messages
Resolved
Science 27 messages
Open
just wondering ... is it possible to have a ternary like operation in "typeguarding functions" 21 messages
Open
Importing a module using URL search parameters 5 messages
Open Node
v6 compilerOptions.types breaking change affects DX of base tsconfigs 16 messages
Resolved
Duplicate function implementation. 24 messages
Open
question regarding framework 10 messages
Open Angular React
Help understanding tsconfig’s trickiest settings 95 messages
Resolved React Node Tooling
type inferred inconsistently from function parameter 10 messages
Resolved
Silencing "missing declarations" for deep import on `@atproto/api`? 14 messages
Open
What the hell is going on? 47 messages
Resolved
how to express "for all existing keys, the values are <Specific types>"? 72 messages
Resolved
i have a exam tmrw i dont understand 8 messages
Resolved
extend aint extending 73 messages
Resolved Node
?: T vs T | null for timer handles - what's the right pattern? 5 messages
Open Node
How can I get my TS7 PR merged? 4 messages
Open
Auth Server Methods 2 messages
Open
Npm Install failing with no obvious reason 62 messages
Open
Get type error when appending data to form. 13 messages
Resolved
Omit key from object type nested in array(s) 12 messages
Resolved
Is TypeScript necessarily wrong? 5 messages
Resolved
declaration for plugins 4 messages
Resolved
Type mismatch when indirecting call to react navigation 2 messages
Resolved React
Unable to narrow union when passed as a generic route prop for react navigation 6 messages
Resolved React
Issue with moduleResolution 10 messages
Open Node
class method param type inference with interface/abstract 43 messages
Open
understanding typescript compilation 10 messages
Open
Making a React Component props based on partially discriminated union 31 messages
Resolved React
Best way to learn TypeScript effectively? 9 messages
Resolved
Exclude test but let lsp still use tsconfig 2 messages
Open Tooling
How to build libraries 21 messages
Open
TSC CI failing 4 messages
Open Node
Type that references its own keys 83 messages
Resolved
Why didn't `check(123)` throw an error? 10 messages
Open
Is this generic function correct ? 10 messages
Resolved
Is TS or JS easier for web development 38 messages
Open
types compiler option. 3 messages
Open
Node.js TypeScript unit tests import compiled source 28 messages
Open Tooling Node
Learn ts and react 14 messages
Open React
How type class decorators? 54 messages
Resolved
Object method returning never does not narrow in control flow analysis 6 messages
Open
Union of `object | () => any` does not enforce return type 39 messages
Open
Top-level await promise never resolved 189 messages
Resolved Deno
How do you create this? 6 messages
Open
Type of filtered array values 5 messages
Open