t
tRPC
t
tRPC
Wrong inferred type for mutation input?
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
B
backbone
•
3/17/23, 4:35 PM
What about pick z
.object
(
.
.
.
) alone
, check the return type
?
N
Nick
•
3/17/23, 4:36 PM
Make sure you
've enabled
s
t
r
i
c
t
:true in your tsconfig
(s
)
N
Nick
Make sure you've enabled strict:true in your tsconfig(s)
T
trash
•
3/17/23, 4:37 PM
ah i thinkk thats it
T
trash
•
3/17/23, 4:38 PM
(i always forget to check that cause everyone should just always have it on
:p
) right
@Chau
?
!
T
trash
•
3/17/23, 4:40 PM
nx scaffolds with strict not true
?
!
T
trash
•
3/17/23, 4:41 PM
haha dang
.
runs to checks my own monorepo
N
Nick
•
3/17/23, 4:45 PM
Nx at least has a base config you can set it on
, but strict is otherwise set based on the generator itself
. Some things are some aren
’t