2.2.8 • Published 2 years ago

@types/kraken-js v2.2.8

Weekly downloads
44
License
MIT
Repository
github
Last release
2 years ago

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.

2.2.7

2 years ago

2.2.6

2 years ago

2.2.8

2 years ago

2.2.5

4 years ago

2.2.4

6 years ago

2.2.3

6 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago