Installation
npm install --save @types/kraken-js
Summary
This package contains type definitions for kraken-js (http://krakenjs.com).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kraken-js.
index.d.ts
import { Express } from "express";
declare function k(options?: k.Options | string): Express;
declare namespace k {
interface Kraken extends Express {
kraken: Kraken;
}
interface Options {
protocols?: object | undefined;
basedir?: string | undefined;
configdir?: string | undefined;
mountpath?: string | undefined;
inheritViews?: boolean | undefined;
startupHeaders?: { [key: string]: string } | undefined;
onconfig?(config: Map<string, any>, next: (err: Error | null, config?: object) => any): any;
uncaughtException?(err: Error): any;
}
}
export = k;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: @types/express
Credits
These definitions were written by Timur Manyanov, and Satana Charuwichitratana.