diff --git a/types/orientjs/index.d.ts b/types/orientjs/index.d.ts index 4645b16842..8e132a9fb8 100644 --- a/types/orientjs/index.d.ts +++ b/types/orientjs/index.d.ts @@ -1,10 +1,10 @@ -// Type definitions for orientjs 3.0.x +// Type definitions for orientjs 3.0 // Project: https://github.com/orientechnologies/orientjs // Definitions by: [Saeed Tabrizi] // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 // Last Update : 11-4-2019 -// Compatible with Orientdb >= 2.2.x and orientjs <= 3.0.x features +// Compatible with Orientdb >= 2.2.x and orientjs <= 3.0.x features. // Developed with love in www.nowcando.com /// @@ -672,8 +672,8 @@ declare namespace orientjs { let(name: string, value: string | Statement): Statement; lock(param: any): Statement; - if(condition: SqlExpression, statements: Statement[]): Statement; - if(condition: SqlExpression, ...statements: Statement[]): Statement; + if(condition: SqlExpression, statements: Array>): Statement; + if(condition: SqlExpression, ...statements: Array>): Statement; rollback(param?: any): Statement; sleep(ms?: number): Statement; @@ -946,13 +946,13 @@ declare namespace orientjs { * * @return The query instance. */ - if(condition: SqlExpression, statements: Statement[]): Statement; + if(condition: SqlExpression, statements: Array>): Statement; /** * Create a transactional query with if. * * @return The query instance. */ - if(condition: SqlExpression, ...statements: Statement[]): Statement; + if(condition: SqlExpression, ...statements: Array>): Statement; /** * Escape the given input. *