From e0f7f19a7cab564db3c062a13b521a4be94da6c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=AA=20C=C3=B4ng=20Nam?= <68719961+LeCongNam@users.noreply.github.com> Date: Sat, 11 Apr 2026 23:11:11 +0700 Subject: [PATCH] Add CSS module declaration for TypeScript Added declaration for CSS module in TypeScript setup. --- content/docs/getting-started/installation/_typescript.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/docs/getting-started/installation/_typescript.mdx b/content/docs/getting-started/installation/_typescript.mdx index b57ff88..3d0dea2 100644 --- a/content/docs/getting-started/installation/_typescript.mdx +++ b/content/docs/getting-started/installation/_typescript.mdx @@ -5,6 +5,7 @@ If you're using TypeScript in your project, you'll need to set up the type defin ```tsx /// +declare module '*.css'; ``` @@ -15,4 +16,4 @@ Do not call this file: - The same name as a folder in `node_modules`, e.g `react.d.ts` By doing so, your types will not be picked up by the TypeScript compiler. - \ No newline at end of file +