help-typescript

11339 threads · Page 15 of 227

I have a monorepo with packages like drizzle-schema and api-contracts 9 messages
Node
Backend package inside monorepo can't find models package 2 messages
Resolved Tooling Node
Coerce static members to use type information provided by T on the class 145 messages
Open
Export class in library without allowing users to use it as value 24 messages
Open
How can I convert TSX to a TS file? (preserve types, desugar JSX) 6 messages
Open React Node Tooling
How to set up rollup + typescript for the web 52 messages
Open
Enforcing enum in Map 9 messages
Open
How to constrain a type parameter to only allow literal strings after TS 5.4? 5 messages
Resolved
Any suggestions on how I can get rid of the '../../' in this import path? 6 messages
Open
This is valid javascript, but how to write it succinctly with typescript? 17 messages
Open
TS can't infer consistency over union 11 messages
Open
extract all methods from a class 9 messages
Resolved
JSDoc "constant" getters in base class from extended class? 23 messages
Open
Generic function 11 messages
Resolved Tooling
amqplib replacement 5 messages
Open Tooling Node
Lazy TypeScript 39 messages
Open Tooling
Why does one type affect another seemingly unrelated type? 17 messages
Open
⁉Module X has no exported member Y [False Positive] 51 messages
Open Tooling Node
A single tsconfig - is it possible at all? 25 messages
Resolved
Return type of function that accepts Prisma.UserFindUniqueArgs 50 messages
Open
In `d.ts` how do I create a global typed by a namespace? 8 messages
Open
Handling possibly undefined values without `?.` 9 messages
Resolved
Restrict CommonJS Imports/Exports in noEmit mode 4 messages
Resolved
Should I have to modify `moduleResolution` to use the `entities` package? 9 messages
Resolved
a native alternative to MaybePromise? 8 messages
Open
Map over an array 5 messages
Open Tooling
Why can I map over an array? 4 messages
Open
[React/Typescript] Passing reference of an instance of an object in the parent component to child. 18 messages
Resolved React
Incorrect "unreachable code" 21 messages
Resolved
extends does not match nulls 8 messages
Open
Issues with `useDefineForClassFields` 17 messages
Open
How to get the keys of a string enum 7 messages
Open
How do modules work? Or, how the heck do I run files 9 messages
Open Tooling
Using Record and Enum together 7 messages
Resolved
Omit<T, K> turns required properties into optional when one union branch becomes {} 152 messages
Open
Can't assign later with index signature mapped types 25 messages
Resolved
I'm trying to make a type for the values of a property of an array and prefix them. 10 messages
Open
Looping and mapping an Enum 13 messages
Resolved
Type overload wit Params and ResultType 3 messages
Open
for-of loops, inferring item type 13 messages
Open
type object with key from argument 12 messages
Resolved
Typing a tree w/o a children property 4 messages
Null-handling vs. non-null-handling callbacks 5 messages
Resolved
`ReferenceError: System is not defined` when loading compiled script in the browser 3 messages
Open
Type <A> does not satisfy the expected type <T>. <A> is assignable to the constraint of type <T>, 10 messages
Resolved
DefinitelyTyped - What does `Needs maintainer action` Mean? 8 messages
Open
Help understanding modified Pick type specified in TypeScript wiki 5 messages
Open
"error: 'var' is declared but never read" but but I do read it 20 messages
Resolved
How to bind js output with ts source files in vscode's browser debuggers? 8 messages
Open Tooling Node
Typescript Class literal generics options and autocompletion 11 messages
Resolved Tooling