mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
fixed wrong argument type of Schema.create
This commit is contained in:
1 parent
009d2996f2
commit
e5059193ce
1 file changed
+1
-1
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user