2.2.8 • Published 2 years ago
@types/kraken-js v2.2.8
Installation
npm install --save @types/kraken-js
Summary
This package contains type definitions for krakenjs (http://krakenjs.com).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kraken-js.
index.d.ts
// Type definitions for krakenjs 2.2
// Project: http://krakenjs.com, https://github.com/krakenjs/kraken-js
// Definitions by: Timur Manyanov <https://github.com/darkwebdev>
// Satana Charuwichitratana <https://github.com/micksatana>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
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: Thu, 08 Jul 2021 16:23:28 GMT
- Dependencies: @types/express
- Global values: none
Credits
These definitions were written by Timur Manyanov, and Satana Charuwichitratana.