mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Uncovered by dtslint 0.5.4, which now requires that definitions cannot be by "My Self", which is the default from dts-gen.
20 lines
489 B
TypeScript
20 lines
489 B
TypeScript
// Type definitions for config-yaml 1.1
|
|
// Project: https://github.com/neolao/config-yaml#readme
|
|
// Definitions by: Arylo Yeung <https://github.com/Arylo>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
// TypeScript Version: 2.1
|
|
|
|
/// <reference types="node" />
|
|
import * as fs from 'fs';
|
|
|
|
export = Yaml;
|
|
|
|
declare namespace Yaml {
|
|
interface Options {
|
|
encoding: string;
|
|
}
|
|
}
|
|
|
|
declare function Yaml(path: fs.PathLike, options?: Partial<Yaml.Options>): any;
|