jeremyfa/yaml.js: Added missing async loading function (#9468)

This commit is contained in:
Tuomas Hietanen
2016-06-02 23:18:18 +09:00
committed by Masahiro Wakame
parent 9807d9b701
commit e16990532a
+2
View File
@@ -6,6 +6,8 @@
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;