Installation
npm install --save @types/yamljs
Summary
This package contains type definitions for yamljs (https://github.com/jeremyfa/yaml.js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yamljs.
index.d.ts
export as namespace YAML;
export = YAML;
declare namespace YAML {
function load(path: string): any;
function load(path: string, callback: (res: any) => void): void;
function stringify(nativeObject: any, inline?: number, spaces?: number): string;
function parse(yamlString: string): any;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Tim Jonischkat.