mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #2598 from borisyankov/jsyaml-browser
js-yaml support on browser
This commit is contained in:
commit
8b077e4f05
1 file changed
+5
-1
Vendored
+5
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module 'js-yaml' {
|
||||
declare module jsyaml {
|
||||
export function safeLoad(str: string, opts?: LoadOptions): any;
|
||||
export function load(str: string, opts?: LoadOptions): any;
|
||||
|
||||
@@ -46,3 +46,7 @@ declare module 'js-yaml' {
|
||||
// all supported YAML types.
|
||||
export var DEFAULT_FULL_SCHEMA: any;
|
||||
}
|
||||
|
||||
declare module 'js-yaml' {
|
||||
export = jsyaml;
|
||||
}
|
||||
Reference in new issue
Block a user