@@ -67,8 +67,8 @@ export class DuckDBBigIntType extends BaseDuckDBType<DuckDBTypeId.BIGINT> {
67
67
public static create ( alias ?: string ) : DuckDBBigIntType {
68
68
return alias ? new DuckDBBigIntType ( alias ) : DuckDBBigIntType . instance ;
69
69
}
70
- public static readonly Max = 2n ** 63n - 1n ;
71
- public static readonly Min = - ( 2n ** 63n ) ;
70
+ public static readonly Max : bigint = 2n ** 63n - 1n ;
71
+ public static readonly Min : bigint = - ( 2n ** 63n ) ;
72
72
}
73
73
74
74
export class DuckDBUTinyIntType extends BaseDuckDBType < DuckDBTypeId . UTINYINT > {
@@ -115,8 +115,8 @@ export class DuckDBUBigIntType extends BaseDuckDBType<DuckDBTypeId.UBIGINT> {
115
115
public static create ( alias ?: string ) : DuckDBUBigIntType {
116
116
return alias ? new DuckDBUBigIntType ( alias ) : DuckDBUBigIntType . instance ;
117
117
}
118
- public static readonly Max = 2n ** 64n - 1n ;
119
- public static readonly Min = 0n ;
118
+ public static readonly Max : bigint = 2n ** 64n - 1n ;
119
+ public static readonly Min : bigint = 0n ;
120
120
}
121
121
122
122
export class DuckDBFloatType extends BaseDuckDBType < DuckDBTypeId . FLOAT > {
@@ -194,8 +194,8 @@ export class DuckDBHugeIntType extends BaseDuckDBType<DuckDBTypeId.HUGEINT> {
194
194
public static create ( alias ?: string ) : DuckDBHugeIntType {
195
195
return alias ? new DuckDBHugeIntType ( alias ) : DuckDBHugeIntType . instance ;
196
196
}
197
- public static readonly Max = 2n ** 127n - 1n ;
198
- public static readonly Min = - ( 2n ** 127n ) ;
197
+ public static readonly Max : bigint = 2n ** 127n - 1n ;
198
+ public static readonly Min : bigint = - ( 2n ** 127n ) ;
199
199
}
200
200
201
201
export class DuckDBUHugeIntType extends BaseDuckDBType < DuckDBTypeId . UHUGEINT > {
@@ -206,8 +206,8 @@ export class DuckDBUHugeIntType extends BaseDuckDBType<DuckDBTypeId.UHUGEINT> {
206
206
public static create ( alias ?: string ) : DuckDBUHugeIntType {
207
207
return alias ? new DuckDBUHugeIntType ( alias ) : DuckDBUHugeIntType . instance ;
208
208
}
209
- public static readonly Max = 2n ** 128n - 1n ;
210
- public static readonly Min = 0n ;
209
+ public static readonly Max : bigint = 2n ** 128n - 1n ;
210
+ public static readonly Min : bigint = 0n ;
211
211
}
212
212
213
213
export class DuckDBVarCharType extends BaseDuckDBType < DuckDBTypeId . VARCHAR > {
0 commit comments