mac.dev
mac.dev
TTCTheo's Typesafe Cult
Created by mac.dev on 8/16/2023 in #questions
React-Hook-Form Issue
go figure
8 replies
TTCTheo's Typesafe Cult
Created by mac.dev on 8/16/2023 in #questions
React-Hook-Form Issue
and the 'number input' tremor component, had a string type for the value
8 replies
TTCTheo's Typesafe Cult
Created by mac.dev on 8/16/2023 in #questions
React-Hook-Form Issue
I wasnt console logging the actual zod errors
8 replies
TTCTheo's Typesafe Cult
Created by mac.dev on 8/16/2023 in #questions
React-Hook-Form Issue
oh I figured it out
8 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/1/2023 in #questions
Type Errors when importing AppRouter from npm workspace TRPC server
was there a solution to this ?
3 replies
TTCTheo's Typesafe Cult
Created by mac.dev on 4/15/2023 in #questions
Make this typesafe pls
Already tried that - it wants to make it an ‘unknown’ type
6 replies
TTCTheo's Typesafe Cult
Created by mac.dev on 4/15/2023 in #questions
Make this typesafe pls
line 3 and 4 btw
6 replies
TTCTheo's Typesafe Cult
Created by mid on 2/13/2023 in #questions
Zod with custom type
But good to hear, just @ me if you need any more help with zod
12 replies
TTCTheo's Typesafe Cult
Created by mid on 2/13/2023 in #questions
Zod with custom type
Could be a TS server error
12 replies
TTCTheo's Typesafe Cult
Created by mid on 2/13/2023 in #questions
Zod with custom type
If it’s an input, it should error if something other than that enum is passed
12 replies
TTCTheo's Typesafe Cult
Created by mid on 2/13/2023 in #questions
Zod with custom type
oh hmmm
12 replies
TTCTheo's Typesafe Cult
Created by mid on 2/13/2023 in #questions
Zod with custom type
@mid something like that should work
12 replies
TTCTheo's Typesafe Cult
Created by mid on 2/13/2023 in #questions
Zod with custom type
getTrending: publicProcedure
.input(
z.object({
media_type: z.enum(["all","movie","tv","person"])
})
)
.query(({ input }) => {
return {
...input
};
}),
getTrending: publicProcedure
.input(
z.object({
media_type: z.enum(["all","movie","tv","person"])
})
)
.query(({ input }) => {
return {
...input
};
}),
12 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 2/5/2023 in #questions
Moving a repo inside a repo!
Ok
103 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 2/5/2023 in #questions
Moving a repo inside a repo!
just fork this
103 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 2/5/2023 in #questions
Moving a repo inside a repo!
103 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 2/5/2023 in #questions
Moving a repo inside a repo!
and the package name is correct
103 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 2/5/2023 in #questions
Moving a repo inside a repo!
make sure you're importing the correct package
103 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 2/5/2023 in #questions
Moving a repo inside a repo!
just copy my tsconfig
103 replies
TTCTheo's Typesafe Cult
Created by fotoflo on 2/5/2023 in #questions
Moving a repo inside a repo!
Make sure the exported components are in an index file in root dir of the packages
103 replies