Skip to content

Commit

Permalink
fix(docs,example): incorrect config import (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
tien authored Jul 24, 2024
1 parent 66a0012 commit c0aa2a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/docs/docs/getting-started/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const config = {
The type declarations extension here will be used to provide you with the right type definitions when using hooks.

```ts title="redot.d.ts"
import type config from "./config";
import type { config } from "./config";
import type { InferChains } from "@reactive-dot/core";

declare module "@reactive-dot/core" {
Expand Down
2 changes: 1 addition & 1 deletion apps/example/src/redot.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type config from "./config.js";
import type { config } from "./config.js";
import type { InferChains } from "@reactive-dot/core";

declare module "@reactive-dot/core" {
Expand Down

0 comments on commit c0aa2a9

Please sign in to comment.