mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 06:40:35 +08:00
Include undefined as accepted type for IRow.
This commit is contained in:
4
types/mssql/index.d.ts
vendored
4
types/mssql/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for mssql 4.0.4
|
||||
// Type definitions for mssql 4.0.5
|
||||
// Project: https://www.npmjs.com/package/mssql
|
||||
// Definitions by: COLSA Corporation <http://www.colsa.com/>, Ben Farr <https://github.com/jaminfarr>, Vitor Buzinaro <https://github.com/buzinas>, Matt Richardson <https://github.com/mrrichar/>, Jørgen Elgaard Larsen <https://github.com/elhaard/>, Peter Keuter <https://github.com/pkeuter/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -218,7 +218,7 @@ declare class columns extends Array {
|
||||
public add(name: string, type: (() => ISqlType) | ISqlType, options?: IColumnOptions): number;
|
||||
}
|
||||
|
||||
type IRow = (string | number | boolean | Date | Buffer)[];
|
||||
type IRow = (string | number | boolean | Date | Buffer | undefined)[];
|
||||
|
||||
declare class rows extends Array {
|
||||
public add(...row: IRow): number;
|
||||
|
||||
Reference in New Issue
Block a user