@tsonic/nodejs 10.0.46 → 10.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -255,10 +255,10 @@ export interface BindOptions$instance {
255
255
  get address(): string | undefined;
256
256
  set address(value: string | undefined);
257
257
  exclusive: boolean;
258
- get fd(): Nullable_1<System_Internal.Int32>;
259
- set fd(value: Nullable_1<System_Internal.Int32> | int);
260
- get port(): Nullable_1<System_Internal.Int32>;
261
- set port(value: Nullable_1<System_Internal.Int32> | int);
258
+ get fd(): int | undefined;
259
+ set fd(value: int | undefined | int);
260
+ get port(): int | undefined;
261
+ set port(value: int | undefined | int);
262
262
  }
263
263
 
264
264
 
@@ -290,12 +290,12 @@ export type BlockList = BlockList$instance;
290
290
  export interface BrotliOptions$instance {
291
291
  readonly __tsonic_type_nodejs_BrotliOptions: never;
292
292
 
293
- get chunkSize(): Nullable_1<System_Internal.Int32>;
294
- set chunkSize(value: Nullable_1<System_Internal.Int32> | int);
295
- get maxOutputLength(): Nullable_1<System_Internal.Int32>;
296
- set maxOutputLength(value: Nullable_1<System_Internal.Int32> | int);
297
- get quality(): Nullable_1<System_Internal.Int32>;
298
- set quality(value: Nullable_1<System_Internal.Int32> | int);
293
+ get chunkSize(): int | undefined;
294
+ set chunkSize(value: int | undefined | int);
295
+ get maxOutputLength(): int | undefined;
296
+ set maxOutputLength(value: int | undefined | int);
297
+ get quality(): int | undefined;
298
+ set quality(value: int | undefined | int);
299
299
  }
300
300
 
301
301
 
@@ -310,13 +310,13 @@ export interface Buffer$instance {
310
310
  readonly __tsonic_type_nodejs_Buffer: never;
311
311
 
312
312
  readonly length: int;
313
- compare(target: Buffer, targetStart?: Nullable_1<System_Internal.Int32>, targetEnd?: Nullable_1<System_Internal.Int32>, sourceStart?: Nullable_1<System_Internal.Int32>, sourceEnd?: Nullable_1<System_Internal.Int32>): int;
314
- copy(target: Buffer, targetStart?: int, sourceStart?: Nullable_1<System_Internal.Int32>, sourceEnd?: Nullable_1<System_Internal.Int32>): int;
313
+ compare(target: Buffer, targetStart?: int | undefined, targetEnd?: int | undefined, sourceStart?: int | undefined, sourceEnd?: int | undefined): int;
314
+ copy(target: Buffer, targetStart?: int, sourceStart?: int | undefined, sourceEnd?: int | undefined): int;
315
315
  equals(otherBuffer: Buffer): boolean;
316
- fill(value: unknown, offset?: int, end?: Nullable_1<System_Internal.Int32>, encoding?: string): Buffer;
316
+ fill(value: unknown, offset?: int, end?: int | undefined, encoding?: string): Buffer;
317
317
  includes(value: unknown, byteOffset?: int, encoding?: string): boolean;
318
318
  indexOf(value: unknown, byteOffset?: int, encoding?: string): int;
319
- lastIndexOf(value: unknown, byteOffset?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
319
+ lastIndexOf(value: unknown, byteOffset?: int | undefined, encoding?: string): int;
320
320
  readBigInt64BE(offset?: int): long;
321
321
  readBigInt64LE(offset?: int): long;
322
322
  readBigUint64BE(offset?: int): ulong;
@@ -349,14 +349,14 @@ export interface Buffer$instance {
349
349
  readUintLE(offset: int, byteLength: int): ulong;
350
350
  readUIntLE(offset: int, byteLength: int): ulong;
351
351
  reverse(): Buffer;
352
- slice(start?: Nullable_1<System_Internal.Int32>, end?: Nullable_1<System_Internal.Int32>): Buffer;
353
- subarray(start?: Nullable_1<System_Internal.Int32>, end?: Nullable_1<System_Internal.Int32>): Buffer;
352
+ slice(start?: int | undefined, end?: int | undefined): Buffer;
353
+ subarray(start?: int | undefined, end?: int | undefined): Buffer;
354
354
  swap16(): Buffer;
355
355
  swap32(): Buffer;
356
356
  swap64(): Buffer;
357
357
  toJSON(): unknown;
358
- toString(encoding?: string, start?: int, end?: Nullable_1<System_Internal.Int32>): string;
359
- write(str: string, offset?: int, length?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
358
+ toString(encoding?: string, start?: int, end?: int | undefined): string;
359
+ write(str: string, offset?: int, length?: int | undefined, encoding?: string): int;
360
360
  writeBigInt64BE(value: long, offset?: int): int;
361
361
  writeBigInt64LE(value: long, offset?: int): int;
362
362
  writeBigUint64BE(value: ulong, offset?: int): int;
@@ -398,7 +398,7 @@ export const Buffer: {
398
398
  allocUnsafeSlow(size: int): Buffer;
399
399
  byteLength(str: string, encoding?: string): int;
400
400
  compare(buf1: Buffer, buf2: Buffer): int;
401
- concat(list: Buffer[], totalLength?: Nullable_1<System_Internal.Int32>): Buffer;
401
+ concat(list: Buffer[], totalLength?: int | undefined): Buffer;
402
402
  from(buffer: Buffer): Buffer;
403
403
  from(array: byte[]): Buffer;
404
404
  from(array: int[]): Buffer;
@@ -454,8 +454,8 @@ export interface ChildProcess$instance extends EventEmitter {
454
454
  readonly __tsonic_type_nodejs_ChildProcess: never;
455
455
 
456
456
  connected: boolean;
457
- get exitCode(): Nullable_1<System_Internal.Int32>;
458
- set exitCode(value: Nullable_1<System_Internal.Int32> | int);
457
+ get exitCode(): int | undefined;
458
+ set exitCode(value: int | undefined | int);
459
459
  readonly killed: boolean;
460
460
  readonly pid: int;
461
461
  referenced: boolean;
@@ -556,12 +556,12 @@ export interface ConnectionOptions$instance extends CommonConnectionOptions {
556
556
  set key(value: unknown | undefined);
557
557
  get passphrase(): string | undefined;
558
558
  set passphrase(value: string | undefined);
559
- get port(): Nullable_1<System_Internal.Int32>;
560
- set port(value: Nullable_1<System_Internal.Int32> | int);
559
+ get port(): int | undefined;
560
+ set port(value: int | undefined | int);
561
561
  get servername(): string | undefined;
562
562
  set servername(value: string | undefined);
563
- get timeout(): Nullable_1<System_Internal.Int32>;
564
- set timeout(value: Nullable_1<System_Internal.Int32> | int);
563
+ get timeout(): int | undefined;
564
+ set timeout(value: int | undefined | int);
565
565
  }
566
566
 
567
567
 
@@ -601,7 +601,7 @@ export interface ConsoleConstructor$instance {
601
601
 
602
602
 
603
603
  export const ConsoleConstructor: {
604
- new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions: Nullable_1<System_Internal.Int32>, groupIndentation: boolean): ConsoleConstructor;
604
+ new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions: int | undefined, groupIndentation: boolean): ConsoleConstructor;
605
605
  };
606
606
 
607
607
 
@@ -713,15 +713,15 @@ export interface DgramSocket$instance extends EventEmitter {
713
713
  getSendQueueSize(): int;
714
714
  ref(): DgramSocket;
715
715
  remoteAddress(): AddressInfo;
716
- send(msg: byte[], port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
717
- send(msg: string, port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
718
- send(msg: byte[], port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
719
- send(msg: string, port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
720
- send(msg: byte[], callback: Action_2<Exception, System_Internal.Int32>): void;
721
- send(msg: string, callback: Action_2<Exception, System_Internal.Int32>): void;
722
- send(msg: byte[], offset: int, length: int, port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
723
- send(msg: byte[], offset: int, length: int, port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
724
- send(msg: byte[], offset: int, length: int, callback: Action_2<Exception, System_Internal.Int32>): void;
716
+ send(msg: byte[], port?: int | undefined, address?: string, callback?: Action_2<Exception, int>): void;
717
+ send(msg: string, port?: int | undefined, address?: string, callback?: Action_2<Exception, int>): void;
718
+ send(msg: byte[], port: int, callback: Action_2<Exception, int>): void;
719
+ send(msg: string, port: int, callback: Action_2<Exception, int>): void;
720
+ send(msg: byte[], callback: Action_2<Exception, int>): void;
721
+ send(msg: string, callback: Action_2<Exception, int>): void;
722
+ send(msg: byte[], offset: int, length: int, port?: int | undefined, address?: string, callback?: Action_2<Exception, int>): void;
723
+ send(msg: byte[], offset: int, length: int, port: int, callback: Action_2<Exception, int>): void;
724
+ send(msg: byte[], offset: int, length: int, callback: Action_2<Exception, int>): void;
725
725
  setBroadcast(flag: boolean): void;
726
726
  setMulticastInterface(multicastInterface: string): void;
727
727
  setMulticastLoopback(flag: boolean): boolean;
@@ -817,7 +817,7 @@ export interface DSAPrivateKeyObject$instance extends KeyObject {
817
817
  readonly __tsonic_iface_System_IDisposable: never;
818
818
 
819
819
  readonly asymmetricKeyType: string | undefined;
820
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
820
+ readonly symmetricKeySize: int | undefined;
821
821
  readonly type: string;
822
822
  Dispose(): void;
823
823
  export(options?: unknown): unknown;
@@ -836,7 +836,7 @@ export interface DSAPublicKeyObject$instance extends KeyObject {
836
836
  readonly __tsonic_iface_System_IDisposable: never;
837
837
 
838
838
  readonly asymmetricKeyType: string | undefined;
839
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
839
+ readonly symmetricKeySize: int | undefined;
840
840
  readonly type: string;
841
841
  Dispose(): void;
842
842
  export(options?: unknown): unknown;
@@ -907,7 +907,7 @@ export interface EdDSAPrivateKeyObject$instance extends KeyObject {
907
907
  readonly __tsonic_iface_System_IDisposable: never;
908
908
 
909
909
  readonly asymmetricKeyType: string | undefined;
910
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
910
+ readonly symmetricKeySize: int | undefined;
911
911
  readonly type: string;
912
912
  Dispose(): void;
913
913
  export(options?: unknown): unknown;
@@ -926,7 +926,7 @@ export interface EdDSAPublicKeyObject$instance extends KeyObject {
926
926
  readonly __tsonic_iface_System_IDisposable: never;
927
927
 
928
928
  readonly asymmetricKeyType: string | undefined;
929
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
929
+ readonly symmetricKeySize: int | undefined;
930
930
  readonly type: string;
931
931
  Dispose(): void;
932
932
  export(options?: unknown): unknown;
@@ -998,8 +998,8 @@ export interface ExecOptions$instance {
998
998
  set encoding(value: string | undefined);
999
999
  get env(): unknown | undefined;
1000
1000
  set env(value: unknown | undefined);
1001
- get gid(): Nullable_1<System_Internal.Int32>;
1002
- set gid(value: Nullable_1<System_Internal.Int32> | int);
1001
+ get gid(): int | undefined;
1002
+ set gid(value: int | undefined | int);
1003
1003
  get input(): string | undefined;
1004
1004
  set input(value: string | undefined);
1005
1005
  get killSignal(): string | undefined;
@@ -1010,8 +1010,8 @@ export interface ExecOptions$instance {
1010
1010
  get stdio(): string | undefined;
1011
1011
  set stdio(value: string | undefined);
1012
1012
  timeout: int;
1013
- get uid(): Nullable_1<System_Internal.Int32>;
1014
- set uid(value: Nullable_1<System_Internal.Int32> | int);
1013
+ get uid(): int | undefined;
1014
+ set uid(value: int | undefined | int);
1015
1015
  windowsHide: boolean;
1016
1016
  windowsVerbatimArguments: boolean;
1017
1017
  }
@@ -1037,8 +1037,8 @@ export interface FsPromises$instance {
1037
1037
  mkdir(path: string, recursive?: boolean): Task;
1038
1038
  mkdir(path: string, options: MkdirOptions): Task;
1039
1039
  mkdir(path: string, options: unknown): Task;
1040
- open(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
1041
- read(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
1040
+ open(path: string, flags: string, mode?: int | undefined): Task_1<int>;
1041
+ read(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
1042
1042
  readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
1043
1043
  readFile(path: string, encoding?: string): Task_1<System_Internal.String>;
1044
1044
  readFileBytes(path: string): Task_1<byte[]>;
@@ -1051,8 +1051,8 @@ export interface FsPromises$instance {
1051
1051
  symlink(target: string, path: string, type?: string): Task;
1052
1052
  truncate(path: string, len?: long): Task;
1053
1053
  unlink(path: string): Task;
1054
- write(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
1055
- write(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): Task_1<System_Internal.Int32>;
1054
+ write(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
1055
+ write(fd: int, data: string, position?: int | undefined, encoding?: string): Task_1<int>;
1056
1056
  writeFile(path: string, data: string, encoding?: string): Task;
1057
1057
  writeFileBytes(path: string, data: byte[]): Task;
1058
1058
  }
@@ -1148,12 +1148,12 @@ export type Interface = Interface$instance;
1148
1148
  export interface InterfaceOptions$instance {
1149
1149
  readonly __tsonic_type_nodejs_InterfaceOptions: never;
1150
1150
 
1151
- get escapeCodeTimeout(): Nullable_1<System_Internal.Int32>;
1152
- set escapeCodeTimeout(value: Nullable_1<System_Internal.Int32> | int);
1151
+ get escapeCodeTimeout(): int | undefined;
1152
+ set escapeCodeTimeout(value: int | undefined | int);
1153
1153
  get history(): string[] | undefined;
1154
1154
  set history(value: string[] | undefined);
1155
- get historySize(): Nullable_1<System_Internal.Int32>;
1156
- set historySize(value: Nullable_1<System_Internal.Int32> | int);
1155
+ get historySize(): int | undefined;
1156
+ set historySize(value: int | undefined | int);
1157
1157
  get input(): Readable | undefined;
1158
1158
  set input(value: Readable | undefined);
1159
1159
  get output(): Writable | undefined;
@@ -1162,8 +1162,8 @@ export interface InterfaceOptions$instance {
1162
1162
  set prompt(value: string | undefined);
1163
1163
  get removeHistoryDuplicates(): Nullable_1<System_Internal.Boolean>;
1164
1164
  set removeHistoryDuplicates(value: Nullable_1<System_Internal.Boolean> | boolean);
1165
- get tabSize(): Nullable_1<System_Internal.Int32>;
1166
- set tabSize(value: Nullable_1<System_Internal.Int32> | int);
1165
+ get tabSize(): int | undefined;
1166
+ set tabSize(value: int | undefined | int);
1167
1167
  get terminal(): Nullable_1<System_Internal.Boolean>;
1168
1168
  set terminal(value: Nullable_1<System_Internal.Boolean> | boolean);
1169
1169
  }
@@ -1196,7 +1196,7 @@ export interface KeyObject$instance {
1196
1196
  readonly __tsonic_iface_System_IDisposable: never;
1197
1197
 
1198
1198
  readonly asymmetricKeyType: string | undefined;
1199
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
1199
+ readonly symmetricKeySize: int | undefined;
1200
1200
  readonly type: string;
1201
1201
  Dispose(): void;
1202
1202
  export(options?: unknown): unknown;
@@ -1212,16 +1212,16 @@ export type KeyObject = KeyObject$instance;
1212
1212
  export interface ListenOptions$instance {
1213
1213
  readonly __tsonic_type_nodejs_ListenOptions: never;
1214
1214
 
1215
- get backlog(): Nullable_1<System_Internal.Int32>;
1216
- set backlog(value: Nullable_1<System_Internal.Int32> | int);
1215
+ get backlog(): int | undefined;
1216
+ set backlog(value: int | undefined | int);
1217
1217
  get host(): string | undefined;
1218
1218
  set host(value: string | undefined);
1219
1219
  get ipv6Only(): Nullable_1<System_Internal.Boolean>;
1220
1220
  set ipv6Only(value: Nullable_1<System_Internal.Boolean> | boolean);
1221
1221
  get path(): string | undefined;
1222
1222
  set path(value: string | undefined);
1223
- get port(): Nullable_1<System_Internal.Int32>;
1224
- set port(value: Nullable_1<System_Internal.Int32> | int);
1223
+ get port(): int | undefined;
1224
+ set port(value: int | undefined | int);
1225
1225
  }
1226
1226
 
1227
1227
 
@@ -1254,8 +1254,8 @@ export interface LookupOptions$instance {
1254
1254
  set all(value: Nullable_1<System_Internal.Boolean> | boolean);
1255
1255
  get family(): unknown | undefined;
1256
1256
  set family(value: unknown | undefined);
1257
- get hints(): Nullable_1<System_Internal.Int32>;
1258
- set hints(value: Nullable_1<System_Internal.Int32> | int);
1257
+ get hints(): int | undefined;
1258
+ set hints(value: int | undefined | int);
1259
1259
  get order(): string | undefined;
1260
1260
  set order(value: string | undefined);
1261
1261
  get verbatim(): Nullable_1<System_Internal.Boolean>;
@@ -1328,8 +1328,8 @@ export type MeasureOptions = MeasureOptions$instance;
1328
1328
  export interface MkdirOptions$instance {
1329
1329
  readonly __tsonic_type_nodejs_MkdirOptions: never;
1330
1330
 
1331
- get mode(): Nullable_1<System_Internal.Int32>;
1332
- set mode(value: Nullable_1<System_Internal.Int32> | int);
1331
+ get mode(): int | undefined;
1332
+ set mode(value: int | undefined | int);
1333
1333
  get recursive(): Nullable_1<System_Internal.Boolean>;
1334
1334
  set recursive(value: Nullable_1<System_Internal.Boolean> | boolean);
1335
1335
  }
@@ -1564,7 +1564,7 @@ export interface PrivateKeyObject$instance extends KeyObject {
1564
1564
  readonly __tsonic_iface_System_IDisposable: never;
1565
1565
 
1566
1566
  readonly asymmetricKeyType: string | undefined;
1567
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
1567
+ readonly symmetricKeySize: int | undefined;
1568
1568
  readonly type: string;
1569
1569
  Dispose(): void;
1570
1570
  export(options?: unknown): unknown;
@@ -1633,7 +1633,7 @@ export interface PublicKeyObject$instance extends KeyObject {
1633
1633
  readonly __tsonic_iface_System_IDisposable: never;
1634
1634
 
1635
1635
  readonly asymmetricKeyType: string | undefined;
1636
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
1636
+ readonly symmetricKeySize: int | undefined;
1637
1637
  readonly type: string;
1638
1638
  Dispose(): void;
1639
1639
  export(options?: unknown): unknown;
@@ -1660,7 +1660,7 @@ export interface Readable$instance extends Stream {
1660
1660
  isPaused(): boolean;
1661
1661
  pause(): Readable;
1662
1662
  push(chunk: unknown, encoding?: string): boolean;
1663
- read(size?: Nullable_1<System_Internal.Int32>): unknown | undefined;
1663
+ read(size?: int | undefined): unknown | undefined;
1664
1664
  resume(): Readable;
1665
1665
  setEncoding(encoding: string): Readable;
1666
1666
  unpipe(destination?: Stream): Readable;
@@ -1776,12 +1776,12 @@ export type Resolver = Resolver$instance;
1776
1776
  export interface ResolverOptions$instance {
1777
1777
  readonly __tsonic_type_nodejs_ResolverOptions: never;
1778
1778
 
1779
- get maxTimeout(): Nullable_1<System_Internal.Int32>;
1780
- set maxTimeout(value: Nullable_1<System_Internal.Int32> | int);
1781
- get timeout(): Nullable_1<System_Internal.Int32>;
1782
- set timeout(value: Nullable_1<System_Internal.Int32> | int);
1783
- get tries(): Nullable_1<System_Internal.Int32>;
1784
- set tries(value: Nullable_1<System_Internal.Int32> | int);
1779
+ get maxTimeout(): int | undefined;
1780
+ set maxTimeout(value: int | undefined | int);
1781
+ get timeout(): int | undefined;
1782
+ set timeout(value: int | undefined | int);
1783
+ get tries(): int | undefined;
1784
+ set tries(value: int | undefined | int);
1785
1785
  }
1786
1786
 
1787
1787
 
@@ -1798,7 +1798,7 @@ export interface SecretKeyObject$instance extends KeyObject {
1798
1798
  readonly __tsonic_iface_System_IDisposable: never;
1799
1799
 
1800
1800
  readonly asymmetricKeyType: string | undefined;
1801
- readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
1801
+ readonly symmetricKeySize: int | undefined;
1802
1802
  readonly type: string;
1803
1803
  Dispose(): void;
1804
1804
  export(options?: unknown): unknown;
@@ -1869,7 +1869,7 @@ export interface Server$instance extends EventEmitter {
1869
1869
  maxConnections: int;
1870
1870
  address(): unknown | undefined;
1871
1871
  close(callback?: Action_1<Exception>): Server;
1872
- getConnections(callback: Action_2<Exception, System_Internal.Int32>): void;
1872
+ getConnections(callback: Action_2<Exception, int>): void;
1873
1873
  listen(port: int, hostname: string, backlog: int, listeningListener?: Action): Server;
1874
1874
  listen(port: int, hostname: string, listeningListener?: Action): Server;
1875
1875
  listen(port: int, backlog: int, listeningListener?: Action): Server;
@@ -1957,15 +1957,15 @@ export interface Socket$instance extends Stream {
1957
1957
  set localAddress(value: string | undefined);
1958
1958
  get localFamily(): string | undefined;
1959
1959
  set localFamily(value: string | undefined);
1960
- get localPort(): Nullable_1<System_Internal.Int32>;
1961
- set localPort(value: Nullable_1<System_Internal.Int32> | int);
1960
+ get localPort(): int | undefined;
1961
+ set localPort(value: int | undefined | int);
1962
1962
  readonly readyState: string;
1963
1963
  get remoteAddress(): string | undefined;
1964
1964
  set remoteAddress(value: string | undefined);
1965
1965
  get remoteFamily(): string | undefined;
1966
1966
  set remoteFamily(value: string | undefined);
1967
- get remotePort(): Nullable_1<System_Internal.Int32>;
1968
- set remotePort(value: Nullable_1<System_Internal.Int32> | int);
1967
+ get remotePort(): int | undefined;
1968
+ set remotePort(value: int | undefined | int);
1969
1969
  address(): unknown;
1970
1970
  connect(port: int, host?: string, connectionListener?: Action): Socket;
1971
1971
  connect(options: TcpSocketConnectOpts, connectionListener?: Action): Socket;
@@ -2003,8 +2003,8 @@ export interface SocketAddress$instance {
2003
2003
 
2004
2004
  address: string;
2005
2005
  family: string;
2006
- get flowlabel(): Nullable_1<System_Internal.Int32>;
2007
- set flowlabel(value: Nullable_1<System_Internal.Int32> | int);
2006
+ get flowlabel(): int | undefined;
2007
+ set flowlabel(value: int | undefined | int);
2008
2008
  port: int;
2009
2009
  }
2010
2010
 
@@ -2023,10 +2023,10 @@ export interface SocketAddressInitOptions$instance {
2023
2023
  set address(value: string | undefined);
2024
2024
  get family(): string | undefined;
2025
2025
  set family(value: string | undefined);
2026
- get flowlabel(): Nullable_1<System_Internal.Int32>;
2027
- set flowlabel(value: Nullable_1<System_Internal.Int32> | int);
2028
- get port(): Nullable_1<System_Internal.Int32>;
2029
- set port(value: Nullable_1<System_Internal.Int32> | int);
2026
+ get flowlabel(): int | undefined;
2027
+ set flowlabel(value: int | undefined | int);
2028
+ get port(): int | undefined;
2029
+ set port(value: int | undefined | int);
2030
2030
  }
2031
2031
 
2032
2032
 
@@ -2042,8 +2042,8 @@ export interface SocketConstructorOpts$instance {
2042
2042
 
2043
2043
  get allowHalfOpen(): Nullable_1<System_Internal.Boolean>;
2044
2044
  set allowHalfOpen(value: Nullable_1<System_Internal.Boolean> | boolean);
2045
- get fd(): Nullable_1<System_Internal.Int32>;
2046
- set fd(value: Nullable_1<System_Internal.Int32> | int);
2045
+ get fd(): int | undefined;
2046
+ set fd(value: int | undefined | int);
2047
2047
  get readable(): Nullable_1<System_Internal.Boolean>;
2048
2048
  set readable(value: Nullable_1<System_Internal.Boolean> | boolean);
2049
2049
  get writable(): Nullable_1<System_Internal.Boolean>;
@@ -2062,12 +2062,12 @@ export interface SocketOptions$instance {
2062
2062
  readonly __tsonic_type_nodejs_SocketOptions: never;
2063
2063
 
2064
2064
  ipv6Only: boolean;
2065
- get recvBufferSize(): Nullable_1<System_Internal.Int32>;
2066
- set recvBufferSize(value: Nullable_1<System_Internal.Int32> | int);
2065
+ get recvBufferSize(): int | undefined;
2066
+ set recvBufferSize(value: int | undefined | int);
2067
2067
  reuseAddr: boolean;
2068
2068
  reusePort: boolean;
2069
- get sendBufferSize(): Nullable_1<System_Internal.Int32>;
2070
- set sendBufferSize(value: Nullable_1<System_Internal.Int32> | int);
2069
+ get sendBufferSize(): int | undefined;
2070
+ set sendBufferSize(value: int | undefined | int);
2071
2071
  type: string;
2072
2072
  }
2073
2073
 
@@ -2088,8 +2088,8 @@ export interface SpawnSyncReturns_1$instance<T> {
2088
2088
  pid: int;
2089
2089
  get signal(): string | undefined;
2090
2090
  set signal(value: string | undefined);
2091
- get status(): Nullable_1<System_Internal.Int32>;
2092
- set status(value: Nullable_1<System_Internal.Int32> | int);
2091
+ get status(): int | undefined;
2092
+ set status(value: int | undefined | int);
2093
2093
  stderr: T;
2094
2094
  stdout: T;
2095
2095
  }
@@ -2199,20 +2199,20 @@ export type StringDecoder = StringDecoder$instance;
2199
2199
  export interface TcpSocketConnectOpts$instance {
2200
2200
  readonly __tsonic_type_nodejs_TcpSocketConnectOpts: never;
2201
2201
 
2202
- get family(): Nullable_1<System_Internal.Int32>;
2203
- set family(value: Nullable_1<System_Internal.Int32> | int);
2204
- get hints(): Nullable_1<System_Internal.Int32>;
2205
- set hints(value: Nullable_1<System_Internal.Int32> | int);
2202
+ get family(): int | undefined;
2203
+ set family(value: int | undefined | int);
2204
+ get hints(): int | undefined;
2205
+ set hints(value: int | undefined | int);
2206
2206
  get host(): string | undefined;
2207
2207
  set host(value: string | undefined);
2208
2208
  get keepAlive(): Nullable_1<System_Internal.Boolean>;
2209
2209
  set keepAlive(value: Nullable_1<System_Internal.Boolean> | boolean);
2210
- get keepAliveInitialDelay(): Nullable_1<System_Internal.Int32>;
2211
- set keepAliveInitialDelay(value: Nullable_1<System_Internal.Int32> | int);
2210
+ get keepAliveInitialDelay(): int | undefined;
2211
+ set keepAliveInitialDelay(value: int | undefined | int);
2212
2212
  get localAddress(): string | undefined;
2213
2213
  set localAddress(value: string | undefined);
2214
- get localPort(): Nullable_1<System_Internal.Int32>;
2215
- set localPort(value: Nullable_1<System_Internal.Int32> | int);
2214
+ get localPort(): int | undefined;
2215
+ set localPort(value: int | undefined | int);
2216
2216
  get noDelay(): Nullable_1<System_Internal.Boolean>;
2217
2217
  set noDelay(value: Nullable_1<System_Internal.Boolean> | boolean);
2218
2218
  port: int;
@@ -2323,16 +2323,16 @@ export interface TlsOptions$instance extends CommonConnectionOptions {
2323
2323
  set ca(value: unknown | undefined);
2324
2324
  get cert(): unknown | undefined;
2325
2325
  set cert(value: unknown | undefined);
2326
- get handshakeTimeout(): Nullable_1<System_Internal.Int32>;
2327
- set handshakeTimeout(value: Nullable_1<System_Internal.Int32> | int);
2326
+ get handshakeTimeout(): int | undefined;
2327
+ set handshakeTimeout(value: int | undefined | int);
2328
2328
  get key(): unknown | undefined;
2329
2329
  set key(value: unknown | undefined);
2330
2330
  get passphrase(): string | undefined;
2331
2331
  set passphrase(value: string | undefined);
2332
2332
  get pauseOnConnect(): Nullable_1<System_Internal.Boolean>;
2333
2333
  set pauseOnConnect(value: Nullable_1<System_Internal.Boolean> | boolean);
2334
- get sessionTimeout(): Nullable_1<System_Internal.Int32>;
2335
- set sessionTimeout(value: Nullable_1<System_Internal.Int32> | int);
2334
+ get sessionTimeout(): int | undefined;
2335
+ set sessionTimeout(value: int | undefined | int);
2336
2336
  }
2337
2337
 
2338
2338
 
@@ -2609,18 +2609,18 @@ export type X509CertificateInfo = X509CertificateInfo$instance;
2609
2609
  export interface ZlibOptions$instance {
2610
2610
  readonly __tsonic_type_nodejs_ZlibOptions: never;
2611
2611
 
2612
- get chunkSize(): Nullable_1<System_Internal.Int32>;
2613
- set chunkSize(value: Nullable_1<System_Internal.Int32> | int);
2614
- get level(): Nullable_1<System_Internal.Int32>;
2615
- set level(value: Nullable_1<System_Internal.Int32> | int);
2616
- get maxOutputLength(): Nullable_1<System_Internal.Int32>;
2617
- set maxOutputLength(value: Nullable_1<System_Internal.Int32> | int);
2618
- get memLevel(): Nullable_1<System_Internal.Int32>;
2619
- set memLevel(value: Nullable_1<System_Internal.Int32> | int);
2620
- get strategy(): Nullable_1<System_Internal.Int32>;
2621
- set strategy(value: Nullable_1<System_Internal.Int32> | int);
2622
- get windowBits(): Nullable_1<System_Internal.Int32>;
2623
- set windowBits(value: Nullable_1<System_Internal.Int32> | int);
2612
+ get chunkSize(): int | undefined;
2613
+ set chunkSize(value: int | undefined | int);
2614
+ get level(): int | undefined;
2615
+ set level(value: int | undefined | int);
2616
+ get maxOutputLength(): int | undefined;
2617
+ set maxOutputLength(value: int | undefined | int);
2618
+ get memLevel(): int | undefined;
2619
+ set memLevel(value: int | undefined | int);
2620
+ get strategy(): int | undefined;
2621
+ set strategy(value: int | undefined | int);
2622
+ get windowBits(): int | undefined;
2623
+ set windowBits(value: int | undefined | int);
2624
2624
  }
2625
2625
 
2626
2626
 
@@ -2781,7 +2781,7 @@ export abstract class crypto$instance {
2781
2781
  static randomBytes(size: int, callback: Action_2<Exception, byte[]>): void;
2782
2782
  static randomBytes(size: int): byte[];
2783
2783
  static randomFill(buffer: byte[], offset: int, size: int, callback: Action_2<Exception, byte[]>): void;
2784
- static randomFillSync(buffer: byte[], offset?: int, size?: Nullable_1<System_Internal.Int32>): byte[];
2784
+ static randomFillSync(buffer: byte[], offset?: int, size?: int | undefined): byte[];
2785
2785
  static randomInt(min: int, max: int): int;
2786
2786
  static randomInt(max: int): int;
2787
2787
  static randomUUID(): string;
@@ -2840,9 +2840,9 @@ export abstract class dns$instance {
2840
2840
  static getDefaultResultOrder(): string;
2841
2841
  static getServers(): string[];
2842
2842
  static lookup(hostname: string, options: LookupOptions, callback: Action_2<Exception, LookupAddress[]>): void;
2843
- static lookup(hostname: string, options: LookupOptions, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
2844
- static lookup(hostname: string, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
2845
- static lookup(hostname: string, family: int, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
2843
+ static lookup(hostname: string, options: LookupOptions, callback: Action_3<Exception, System_Internal.String, int>): void;
2844
+ static lookup(hostname: string, callback: Action_3<Exception, System_Internal.String, int>): void;
2845
+ static lookup(hostname: string, family: int, callback: Action_3<Exception, System_Internal.String, int>): void;
2846
2846
  static lookupService(address: string, port: int, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
2847
2847
  static resolve(hostname: string, callback: Action_2<Exception, string[]>): void;
2848
2848
  static resolve(hostname: string, rrtype: string, callback: Action_2<Exception, unknown>): void;
@@ -2909,9 +2909,9 @@ export abstract class fs$instance {
2909
2909
  static mkdirSync(path: string, options: MkdirOptions): void;
2910
2910
  static mkdirSync(path: string, recursive?: boolean): void;
2911
2911
  static mkdirSync(path: string, options: unknown): void;
2912
- static open(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
2913
- static openSync(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): int;
2914
- static read(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
2912
+ static open(path: string, flags: string, mode?: int | undefined): Task_1<int>;
2913
+ static openSync(path: string, flags: string, mode?: int | undefined): int;
2914
+ static read(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
2915
2915
  static readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
2916
2916
  static readdirSync(path: string, withFileTypes?: boolean): string[];
2917
2917
  static readFile(path: string, encoding: string): Task_1<System_Internal.String>;
@@ -2922,7 +2922,7 @@ export abstract class fs$instance {
2922
2922
  static readFileSyncBytes(path: string): byte[];
2923
2923
  static readlink(path: string): Task_1<System_Internal.String>;
2924
2924
  static readlinkSync(path: string): string;
2925
- static readSync(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): int;
2925
+ static readSync(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): int;
2926
2926
  static realpath(path: string): Task_1<System_Internal.String>;
2927
2927
  static realpathSync(path: string): string;
2928
2928
  static rename(oldPath: string, newPath: string): Task;
@@ -2939,14 +2939,14 @@ export abstract class fs$instance {
2939
2939
  static truncateSync(path: string, len?: long): void;
2940
2940
  static unlink(path: string): Task;
2941
2941
  static unlinkSync(path: string): void;
2942
- static write(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
2943
- static write(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): Task_1<System_Internal.Int32>;
2942
+ static write(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
2943
+ static write(fd: int, data: string, position?: int | undefined, encoding?: string): Task_1<int>;
2944
2944
  static writeFile(path: string, data: string, encoding?: string): Task;
2945
2945
  static writeFileBytes(path: string, data: byte[]): Task;
2946
2946
  static writeFileSync(path: string, data: string, encoding?: string): void;
2947
2947
  static writeFileSyncBytes(path: string, data: byte[]): void;
2948
- static writeSync(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): int;
2949
- static writeSync(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
2948
+ static writeSync(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): int;
2949
+ static writeSync(fd: int, data: string, position?: int | undefined, encoding?: string): int;
2950
2950
  }
2951
2951
 
2952
2952
 
@@ -3040,8 +3040,8 @@ export abstract class process$instance {
3040
3040
  static argv0: string;
3041
3041
  static readonly env: ProcessEnv;
3042
3042
  static readonly execPath: string;
3043
- static get exitCode(): Nullable_1<System_Internal.Int32>;
3044
- static set exitCode(value: Nullable_1<System_Internal.Int32> | int);
3043
+ static get exitCode(): int | undefined;
3044
+ static set exitCode(value: int | undefined | int);
3045
3045
  static readonly pid: int;
3046
3046
  static readonly ppid: int;
3047
3047
  static readonly platform: string;
@@ -3049,7 +3049,7 @@ export abstract class process$instance {
3049
3049
  static readonly versions: ProcessVersions;
3050
3050
  static chdir(directory: string): void;
3051
3051
  static cwd(): string;
3052
- static exit(code?: Nullable_1<System_Internal.Int32>): void;
3052
+ static exit(code?: int | undefined): void;
3053
3053
  static kill(pid: int, signal?: unknown): boolean;
3054
3054
  }
3055
3055
 
@@ -3075,7 +3075,7 @@ export abstract class readline$instance {
3075
3075
  static createAsyncIterator(input: Readable, options?: InterfaceOptions): IAsyncEnumerable_1<System_Internal.String>;
3076
3076
  static createInterface(options: InterfaceOptions): Interface;
3077
3077
  static createInterface(input: Readable, output?: Writable): Interface;
3078
- static cursorTo(stream: Writable, x: int, y?: Nullable_1<System_Internal.Int32>, callback?: Action): boolean;
3078
+ static cursorTo(stream: Writable, x: int, y?: int | undefined, callback?: Action): boolean;
3079
3079
  static emitKeypressEvents(stream: Readable, rl?: Interface): void;
3080
3080
  static moveCursor(stream: Writable, dx: int, dy: int, callback?: Action): boolean;
3081
3081
  }