diff --git a/types/keystonejs__app-next/index.d.ts b/types/keystonejs__app-next/index.d.ts index 40e601a166..2751aa0f36 100644 --- a/types/keystonejs__app-next/index.d.ts +++ b/types/keystonejs__app-next/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for @keystonejs/app-next 5.0 +// Type definitions for @keystonejs/app-next 5.1 // Project: https://github.com/keystonejs/keystone // Definitions by: Kevin Brown // Timothee Clain +// Abhijith Vijayan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.5 @@ -18,7 +19,7 @@ declare module '@keystonejs/app-next' { class NextApp extends BaseApp { constructor(options?: NextOptions); - prepareMiddleware({ dev }: { dev?: boolean }): Promise; + prepareMiddleware({ dev, distDir }: { dev?: boolean, distDir?: any }): Promise; build(): Promise; } }