Ryan
Ryan
TTCTheo's Typesafe Cult
Created by Ryan on 10/1/2023 in #questions
Parameter 'props' implicitly has an 'any' type
Is that how you would specify the type?
8 replies
TTCTheo's Typesafe Cult
Created by Ryan on 10/1/2023 in #questions
Parameter 'props' implicitly has an 'any' type
'href' is specified more than once, so this usage will be overwritten.ts(2783)
8 replies
TTCTheo's Typesafe Cult
Created by Ryan on 10/1/2023 in #questions
Parameter 'props' implicitly has an 'any' type
No description
8 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
made another post for that too in the contentlayer discord. In the meantime I'll see if I can find a reason in the documentation
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
No description
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
running it with code (with the red squiggle underneath) gives:
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
oh theres a discord
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
hm should I open a github issue? @sturlen
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
I've seen some tutorials use post.body.code there but I don't have a .code attribute in the body
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
@sturlen
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
also does something seem wrong with the
const MDXContent = useMDXComponent(post.body.raw);
const MDXContent = useMDXComponent(post.body.raw);
line
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
yeah let me try that
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
yeah here it is @sturlen
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
import { withContentlayer } from "next-contentlayer";
import withMDX from "@next/mdx";

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverComponentsExternalPackages: ["@prisma/client"],
serverActions: true,
mdxRs: true,
},
};

export default withContentlayer(withMDX(nextConfig));
import { withContentlayer } from "next-contentlayer";
import withMDX from "@next/mdx";

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverComponentsExternalPackages: ["@prisma/client"],
serverActions: true,
mdxRs: true,
},
};

export default withContentlayer(withMDX(nextConfig));
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
perfect thanks
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
specifically posting code weird
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
but i'm getting this message @sturlen
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
I sent it in this thread
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
are you getting it?
33 replies
TTCTheo's Typesafe Cult
Created by Ryan on 9/18/2023 in #questions
Any idea how to use imports outside of a module? Trouble understanding this error:
No description
33 replies