Skip to content

Commit

Permalink
Merge pull request #2312 from opral/fix-next-adapter-types
Browse files Browse the repository at this point in the history
Fix NextJS Adapter types
  • Loading branch information
LorisSigrist authored Feb 29, 2024
2 parents e11de8b + 1f54e6d commit c3cc554
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-geese-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inlang/paraglide-js-adapter-next": patch
---

fix `pathnames` type
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ExcludeConfig } from "./exclude"
import { UserPathTranslations } from "./pathnames/types"
import type { UserPathTranslations } from "./pathnames/types"

export type I18nOptions<T extends string> = {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"strict": true,
"declaration": true,
"allowJs": true,
"checkJs": true,
"jsx": "react",
"outDir": "dist",
"skipLibCheck": true,
"declarationMap": true
"declarationMap": false
},
"include": ["src"],
"exclude": ["examples", "examples/*"]
Expand Down

0 comments on commit c3cc554

Please sign in to comment.