Madmanali93
Madmanali93
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Madmanali93 on 1/24/2024 in #questions
Type A is not assignable to type A & B & C. Not sure why ts infers with an `&` and not `|`
2 replies
TtRPC
Created by Madmanali93 on 9/22/2023 in #❓-help
How to trigger revalidate after server action on a client component
https://github.com/trpc/examples-next-app-dir/blob/main/src/app/server-action/ReactHookFormExample.tsx Following this experimental example I am wondering how to trigger the revalidate on the client side after the server action is complete?
2 replies
TTCTheo's Typesafe Cult
Created by Madmanali93 on 3/18/2023 in #questions
Any good starter templates for electron?
It's kind of weird that their documentation has no template any where. Is there some template thats up to date that can get the intial setup for ts electron project?
3 replies
TTCTheo's Typesafe Cult
Created by Madmanali93 on 12/27/2022 in #questions
(plugin rpt2) RollupError Unexpected token (Note that you need plugins to import files that are not
import React from "react"
type Props = {
^
value: string
}
import React from "react"
type Props = {
^
value: string
}
Anyone know why Rollup ts2 is throwing this error on the type?
2 replies