mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
459 B
TypeScript
17 lines
459 B
TypeScript
// Type definitions for yamljs 0.2.3
|
|
// Project: https://github.com/jeremyfa/yaml.js
|
|
// Definitions by: Tim Jonischkat <http://www.tim-jonischkat.de>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare namespace YAML {
|
|
function load(path: string): any;
|
|
|
|
function stringify(nativeObject: any, inline?: number, spaces?: number): string;
|
|
|
|
function parse(yamlString: string): any;
|
|
}
|
|
|
|
declare module "yamljs" {
|
|
export = YAML;
|
|
}
|