Merge pull request #24631 from saschanaz/jsyaml

[js-yaml] Support module as a global namespace
This commit is contained in:
Nathan Shively-Sanders
2018-03-30 09:39:44 -07:00
committed by GitHub
+2
View File
@@ -4,6 +4,8 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
export as namespace jsyaml;
export type DocumentLoadResult = object | undefined;
export function safeLoad(str: string, opts?: LoadOptions): DocumentLoadResult;