5.0.5 • Published 1 year ago
@types/flat v5.0.5
Installation
npm install --save @types/flat
Summary
This package contains type definitions for flat (https://github.com/hughsk/flat).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flat.
index.d.ts
// Type definitions for flat 5.0.0
// Project: https://github.com/hughsk/flat
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
// Oz Weiss <https://github.com/thewizarodofoz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare var flatten: FlatTypes.Flatten;
export = flatten;
declare namespace FlatTypes {
interface FlattenOptions {
delimiter?: string | undefined;
safe?: boolean | undefined;
maxDepth?: number | undefined;
transformKey?: ((key: string) => string) | undefined;
}
interface Flatten {
<TTarget, TResult>(
target: TTarget,
options?: FlattenOptions
): TResult;
flatten: Flatten;
unflatten: Unflatten;
}
interface UnflattenOptions {
delimiter?: string | undefined;
object?: boolean | undefined;
overwrite?: boolean | undefined;
transformKey?: ((key: string) => string) | undefined;
}
interface Unflatten {
<TTarget, TResult>(
target: TTarget,
options?: UnflattenOptions
): TResult;
}
}
Additional Details
- Last updated: Tue, 06 Jul 2021 20:32:59 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Ilya Mochalov, and Oz Weiss.
5.0.5
1 year ago
5.0.4
1 year ago
5.0.3
1 year ago
5.0.2
4 years ago
5.0.1
5 years ago
5.0.0
5 years ago
0.0.28
8 years ago
0.0.27
9 years ago
0.0.26-alpha
9 years ago
0.0.25-alpha
9 years ago
0.0.24-alpha
9 years ago
0.0.23-alpha
9 years ago
0.0.22-alpha
9 years ago
0.0.21-alpha
9 years ago
0.0.20-alpha
9 years ago
0.0.15-alpha
9 years ago
0.0.14-alpha
9 years ago