@types/power-assert-formatter
TypeScript definitions for power-assert-formatter
Last updated 5 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/power-assert-formatter 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/power-assert-formatter

Summary

This package contains type definitions for power-assert-formatter (https://github.com/twada/power-assert-formatter).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/power-assert-formatter.

index.d.ts

// Type definitions for power-assert-formatter 1.4.1
// Project: https://github.com/twada/power-assert-formatter
// Definitions by: vvakame <https://github.com/vvakame>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function powerAssertFormatter(options?:powerAssertFormatter.Options):powerAssertFormatter.Formatter;

declare namespace powerAssertFormatter {
    export interface Options {
        lineDiffThreshold?: number | undefined;
        maxDepth?: number | undefined;
        outputOffset?: number | undefined;
        anonymous?: string | undefined;
        circular?: string | undefined;
        lineSeparator?: string | undefined;
        ambiguousEastAsianCharWidth?: number | undefined;
        widthOf?: Function | undefined;
        stringify?: Function | undefined;
        diff?: Function | undefined;
        writerClass?: {new (): any;} | undefined;
        renderers?: any[] | undefined; // { string | Function }[]
    }

    export interface Formatter {
        (powerAssertContext:any): string;
    }

    export function defaultOptions():Options;
}

export = powerAssertFormatter;
export as namespace powerAssertFormatter;

Additional Details

  • Last updated: Wed, 07 Jul 2021 17:02:35 GMT
  • Dependencies: none
  • Global values: powerAssertFormatter

Credits

These definitions were written by vvakame.

Current Tags

  • 1.4.30                                ...           latest (5 years ago)
  • 1.4.28                                ...           ts2.0 (10 years ago)
  • 1.4.28                                ...           ts2.1 (10 years ago)
  • 1.4.28                                ...           ts2.2 (10 years ago)
  • 1.4.28                                ...           ts2.3 (10 years ago)
  • 1.4.28                                ...           ts2.4 (10 years ago)
  • 1.4.28                                ...           ts2.5 (10 years ago)
  • 1.4.28                                ...           ts2.6 (10 years ago)
  • 1.4.28                                ...           ts2.7 (10 years ago)
  • 1.4.28                                ...           ts2.8 (10 years ago)
  • 1.4.28                                ...           ts2.9 (10 years ago)
  • 1.4.29                                ...           ts3.0 (6 years ago)
  • 1.4.29                                ...           ts3.1 (6 years ago)
  • 1.4.29                                ...           ts3.2 (6 years ago)
  • 1.4.29                                ...           ts3.3 (6 years ago)
  • 1.4.29                                ...           ts3.4 (6 years ago)
  • 1.4.29                                ...           ts3.5 (6 years ago)
  • 1.4.30                                ...           ts3.6 (5 years ago)
  • 1.4.30                                ...           ts3.7 (5 years ago)
  • 1.4.30                                ...           ts3.8 (5 years ago)
  • 1.4.30                                ...           ts3.9 (5 years ago)
  • 1.4.30                                ...           ts4.0 (5 years ago)
  • 1.4.30                                ...           ts4.1 (5 years ago)
  • 1.4.30                                ...           ts4.2 (5 years ago)
  • 1.4.30                                ...           ts4.3 (5 years ago)
  • 1.4.30                                ...           ts4.4 (5 years ago)
  • 1.4.30                                ...           ts4.5 (5 years ago)
  • 1.4.30                                ...           ts4.6 (5 years ago)

14 Versions

  • 1.4.30                                ...           5 years ago
  • 1.4.29                                ...           6 years ago
  • 1.4.28                                ...           10 years ago
  • 0.0.27                                ...           10 years ago
  • 0.0.26                                ...           10 years ago
  • 0.0.25-alpha                                ...           10 years ago
  • 0.0.24-alpha                                ...           10 years ago
  • 0.0.23-alpha                                ...           10 years ago
  • 0.0.22-alpha                                ...           10 years ago
  • 0.0.21-alpha                                ...           10 years ago
  • 0.0.20-alpha                                ...           10 years ago
  • 0.0.19-alpha                                ...           10 years ago
  • 0.0.14-alpha                                ...           10 years ago
  • 0.0.13-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 10
Last Month 10
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |