Arduano
TTCTheo's Typesafe Cult
•Created by Arduano on 1/12/2025 in #questions
Github Workflows NPM publishing issues
Figured it out
had to set
NODE_AUTH_TOKEN
instead of NPM_TOKEN
even though basically all docs told me to use NPM_TOKEN
4 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
you can see it here
62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
yeah
62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
like here
62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
invalid casting
62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
if
satisfies
doesn't catch it then type annotated variables definitely don't either62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
as
is more concise but equally type safe for now62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
I attempted it at some point though
62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
yeah that would make sense, though it's not really feasible in my context
62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
is there some specific property of the type where it decies to simplify/narrow, which I can force it to avoid?
62 replies
TTCTheo's Typesafe Cult
•Created by Arduano on 6/12/2024 in #questions
Typescript generic field selection assumes type incorrectly
oh, wdym?
62 replies