refactor yamljs/yamljs.d.ts

This commit is contained in:
vvakame
2015-08-13 23:32:42 +09:00
parent 66575710f4
commit 6780badbce

10
yamljs/yamljs.d.ts vendored
View File

@@ -3,13 +3,13 @@
// Definitions by: Tim Jonischkat <http://www.tim-jonischkat.de>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare var YAML: {
load(path : string) : any;
declare namespace YAML {
function load(path : string) : any;
stringify(nativeObject : any, inline? : number, spaces? : number) : string;
function stringify(nativeObject : any, inline? : number, spaces? : number) : string;
parse(yamlString : string) : any;
};
function parse(yamlString : string) : any;
}
declare module "yamljs" {
export = YAML;