Skip to content

Commit

Permalink
docs(docs): improve typescript docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oktaysenkan committed Jan 7, 2025
1 parent 1c5d526 commit 65f11e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/docs/pages/troubleshooting/_meta.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
typescript: "TypeScript",
monorepo: "Monorepo",
"module-resolution": "Module Resolution",
"bundle-size": "Bundle Size",
Expand Down
8 changes: 7 additions & 1 deletion apps/docs/pages/troubleshooting/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ import react from "@vitejs/plugin-react";
import monicon from "@monicon/vite";

export default defineConfig({
plugins: [react(), monicon({ typesFileName: "types", generateTypes: true })],
plugins: [
react(),
monicon({
typesFileName: "types",
generateTypes: true,
}),
],
});
```

0 comments on commit 65f11e2

Please sign in to comment.