Skip to content

Commit 69b053d

Browse files
committed
fix(types): make nuxt config property laravel optional
1 parent 1e91605 commit 69b053d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/options.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ export const getConfiguration = (
109109

110110
declare module '@nuxt/types' {
111111
export interface Configuration {
112-
laravel: Options
112+
laravel?: Options
113113
}
114114
}

types/options.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ export declare const getConfiguration: (nuxtOptions: Configuration, overwrites?:
4343
};
4444
declare module '@nuxt/types' {
4545
interface Configuration {
46-
laravel: Options;
46+
laravel?: Options;
4747
}
4848
}

0 commit comments

Comments
 (0)