fixed wrong argument type of Schema.create

This commit is contained in:
sclausen
2016-02-02 09:27:04 +01:00
parent 009d2996f2
commit e5059193ce
+1 -1
View File
@@ -15,7 +15,7 @@ declare module jsyaml {
}
export class Schema {
constructor(definition: SchemaDefinition);
public static create(... any): Schema;
public static create(args: any[]): Schema;
}
export function safeLoadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): any;