@types/keystonejs__app-next
v5.1.2
Published
TypeScript definitions for @keystonejs/app-next
Downloads
1
Readme
Installation
npm install --save @types/keystonejs__app-next
Summary
This package contains type definitions for @keystonejs/app-next (https://github.com/keystonejs/keystone).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keystonejs__app-next.
index.d.ts
// Type definitions for @keystonejs/app-next 5.1
// Project: https://github.com/keystonejs/keystone
// Definitions by: Kevin Brown <https://github.com/thekevinbrown>
// Timothee Clain <https://github.com/tclain>
// Abhijith Vijayan <https://github.com/abhijithvijayan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.5
// Because this is a scoped package, without this line Typescript doesn't associate the
// types with the right package.
// tslint:disable-next-line:no-single-declare-module
declare module '@keystonejs/app-next' {
import { BaseApp } from '@keystonejs/keystone';
interface NextOptions {
dir: string;
}
class NextApp extends BaseApp {
constructor(options?: NextOptions);
prepareMiddleware({ dev, distDir }: { dev?: boolean | undefined, distDir?: any }): Promise<any>;
build(): Promise<void>;
}
}
Additional Details
- Last updated: Thu, 08 Jul 2021 16:23:13 GMT
- Dependencies: @types/keystonejs__keystone
- Global values: none
Credits
These definitions were written by Kevin Brown, Timothee Clain, and Abhijith Vijayan.