Skip to content

Commit a495cb3

Browse files
committedApr 23, 2020
fix(types): fix type of baseUrl to allow string
1 parent 90c67c6 commit a495cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎types/nuxt-i18n.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ declare namespace NuxtVueI18n {
5858

5959
// see options reference: https://github.com/nuxt-community/nuxt-i18n/blob/master/docs/options-reference.md
6060
interface AllOptionsInterface extends NuxtI18nInterface {
61-
baseUrl?: (context: NuxtContext) => string | string
61+
baseUrl?: string | ((context: NuxtContext) => string)
6262
detectBrowserLanguage?: DetectBrowserLanguageInterface
6363
encodePaths?: boolean
6464
langDir?: string | null

0 commit comments

Comments
 (0)
Please sign in to comment.