mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix cliff
This commit is contained in:
parent
8dce5bde7d
commit
8aef70fb4d
1
cliff/cliff-tests.ts
Normal file
1
cliff/cliff-tests.ts
Normal file
@ -0,0 +1 @@
|
||||
/// <reference types="cliff" />
|
||||
14
cliff/cliff.d.ts
vendored
14
cliff/cliff.d.ts
vendored
@ -1,14 +0,0 @@
|
||||
// Type definitions for cliff 0.1.10
|
||||
// Project: https://github.com/flatiron/cliff
|
||||
// Definitions by: bryn austin bellomy <https://github.com/brynbellomy>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
declare module "cliff" {
|
||||
export function inspect(obj:any): string;
|
||||
export function stringifyRows(rows:string[][], colors?:string[]): string;
|
||||
export function stringifyObjectRows(rows:Array<{}>, keys:string[], colors?:string[]): string;
|
||||
export function putRows(level:string, rows:string[][], colors?:string[]): void;
|
||||
export function putObjectRows(level:string, rows:Array<{}>, keys:string[], colors?:string[]): void;
|
||||
export function putObject(level:string, object:any, rewriters?:any, padding?:any): void;
|
||||
}
|
||||
11
cliff/index.d.ts
vendored
Normal file
11
cliff/index.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// Type definitions for cliff 0.1.10
|
||||
// Project: https://github.com/flatiron/cliff
|
||||
// Definitions by: bryn austin bellomy <https://github.com/brynbellomy>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
export function inspect(obj: any): string;
|
||||
export function stringifyRows(rows: string[][], colors?: string[]): string;
|
||||
export function stringifyObjectRows(rows: Array<{}>, keys: string[], colors?: string[]): string;
|
||||
export function putRows(level: string, rows: string[][], colors?: string[]): void;
|
||||
export function putObjectRows(level: string, rows: Array<{}>, keys: string[], colors?: string[]): void;
|
||||
export function putObject(level: string, object: any, rewriters?: any, padding?: any): void;
|
||||
19
cliff/tsconfig.json
Normal file
19
cliff/tsconfig.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"cliff-tests.ts"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user