mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-02 08:10:05 +00:00
Merge pull request #15480 from styfle/patch-11
Add `max` length to ParameterOptions
This commit is contained in:
2
types/tedious/index.d.ts
vendored
2
types/tedious/index.d.ts
vendored
@@ -297,7 +297,7 @@ export interface ConnectionConfig {
|
||||
|
||||
export interface ParameterOptions {
|
||||
// for VarChar, NVarChar, VarBinary
|
||||
length?: number;
|
||||
length?: number | 'max';
|
||||
// precision for Numeric, Decimal
|
||||
precision?: number;
|
||||
// scale for Numeric, Decimal, Time, DateTime2, DateTimeOffset
|
||||
|
||||
Reference in New Issue
Block a user