@tsonic/nodejs 0.4.0 → 0.4.1

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.
@@ -33,7 +33,7 @@ export interface AddressInfo$instance {
33
33
 
34
34
 
35
35
  export const AddressInfo: {
36
- new(): AddressInfo$instance;
36
+ new(): AddressInfo;
37
37
  };
38
38
 
39
39
 
@@ -45,7 +45,7 @@ export interface AnyAaaaRecord$instance extends RecordWithTtl {
45
45
 
46
46
 
47
47
  export const AnyAaaaRecord: {
48
- new(): AnyAaaaRecord$instance;
48
+ new(): AnyAaaaRecord;
49
49
  };
50
50
 
51
51
 
@@ -57,7 +57,7 @@ export interface AnyARecord$instance extends RecordWithTtl {
57
57
 
58
58
 
59
59
  export const AnyARecord: {
60
- new(): AnyARecord$instance;
60
+ new(): AnyARecord;
61
61
  };
62
62
 
63
63
 
@@ -69,7 +69,7 @@ export interface AnyCaaRecord$instance extends CaaRecord {
69
69
 
70
70
 
71
71
  export const AnyCaaRecord: {
72
- new(): AnyCaaRecord$instance;
72
+ new(): AnyCaaRecord;
73
73
  };
74
74
 
75
75
 
@@ -82,7 +82,7 @@ export interface AnyCnameRecord$instance {
82
82
 
83
83
 
84
84
  export const AnyCnameRecord: {
85
- new(): AnyCnameRecord$instance;
85
+ new(): AnyCnameRecord;
86
86
  };
87
87
 
88
88
 
@@ -94,7 +94,7 @@ export interface AnyMxRecord$instance extends MxRecord {
94
94
 
95
95
 
96
96
  export const AnyMxRecord: {
97
- new(): AnyMxRecord$instance;
97
+ new(): AnyMxRecord;
98
98
  };
99
99
 
100
100
 
@@ -106,7 +106,7 @@ export interface AnyNaptrRecord$instance extends NaptrRecord {
106
106
 
107
107
 
108
108
  export const AnyNaptrRecord: {
109
- new(): AnyNaptrRecord$instance;
109
+ new(): AnyNaptrRecord;
110
110
  };
111
111
 
112
112
 
@@ -119,7 +119,7 @@ export interface AnyNsRecord$instance {
119
119
 
120
120
 
121
121
  export const AnyNsRecord: {
122
- new(): AnyNsRecord$instance;
122
+ new(): AnyNsRecord;
123
123
  };
124
124
 
125
125
 
@@ -132,7 +132,7 @@ export interface AnyPtrRecord$instance {
132
132
 
133
133
 
134
134
  export const AnyPtrRecord: {
135
- new(): AnyPtrRecord$instance;
135
+ new(): AnyPtrRecord;
136
136
  };
137
137
 
138
138
 
@@ -155,7 +155,7 @@ export interface AnySoaRecord$instance extends SoaRecord {
155
155
 
156
156
 
157
157
  export const AnySoaRecord: {
158
- new(): AnySoaRecord$instance;
158
+ new(): AnySoaRecord;
159
159
  };
160
160
 
161
161
 
@@ -167,7 +167,7 @@ export interface AnySrvRecord$instance extends SrvRecord {
167
167
 
168
168
 
169
169
  export const AnySrvRecord: {
170
- new(): AnySrvRecord$instance;
170
+ new(): AnySrvRecord;
171
171
  };
172
172
 
173
173
 
@@ -179,7 +179,7 @@ export interface AnyTlsaRecord$instance extends TlsaRecord {
179
179
 
180
180
 
181
181
  export const AnyTlsaRecord: {
182
- new(): AnyTlsaRecord$instance;
182
+ new(): AnyTlsaRecord;
183
183
  };
184
184
 
185
185
 
@@ -192,7 +192,7 @@ export interface AnyTxtRecord$instance {
192
192
 
193
193
 
194
194
  export const AnyTxtRecord: {
195
- new(): AnyTxtRecord$instance;
195
+ new(): AnyTxtRecord;
196
196
  };
197
197
 
198
198
 
@@ -208,7 +208,7 @@ export interface AssertionError$instance extends Exception {
208
208
 
209
209
 
210
210
  export const AssertionError: {
211
- new(message: string, actual: unknown, expected: unknown, operator: string): AssertionError$instance;
211
+ new(message: string, actual: unknown, expected: unknown, operator: string): AssertionError;
212
212
  };
213
213
 
214
214
 
@@ -223,7 +223,7 @@ export interface BindOptions$instance {
223
223
 
224
224
 
225
225
  export const BindOptions: {
226
- new(): BindOptions$instance;
226
+ new(): BindOptions;
227
227
  };
228
228
 
229
229
 
@@ -239,7 +239,7 @@ export interface BlockList$instance {
239
239
 
240
240
 
241
241
  export const BlockList: {
242
- new(): BlockList$instance;
242
+ new(): BlockList;
243
243
  };
244
244
 
245
245
 
@@ -253,7 +253,7 @@ export interface BrotliOptions$instance {
253
253
 
254
254
 
255
255
  export const BrotliOptions: {
256
- new(): BrotliOptions$instance;
256
+ new(): BrotliOptions;
257
257
  };
258
258
 
259
259
 
@@ -344,7 +344,7 @@ export interface Buffer$instance {
344
344
 
345
345
 
346
346
  export const Buffer: {
347
- new(): Buffer$instance;
347
+ new(): Buffer;
348
348
  poolSize: int;
349
349
  alloc(size: int, fill?: unknown, encoding?: string): Buffer;
350
350
  allocUnsafe(size: int): Buffer;
@@ -375,7 +375,7 @@ export interface CaaRecord$instance {
375
375
 
376
376
 
377
377
  export const CaaRecord: {
378
- new(): CaaRecord$instance;
378
+ new(): CaaRecord;
379
379
  };
380
380
 
381
381
 
@@ -402,7 +402,7 @@ export interface ChildProcess$instance extends EventEmitter {
402
402
 
403
403
 
404
404
  export const ChildProcess: {
405
- new(): ChildProcess$instance;
405
+ new(): ChildProcess;
406
406
  };
407
407
 
408
408
 
@@ -421,7 +421,7 @@ export interface Cipher$instance extends Transform {
421
421
 
422
422
 
423
423
  export const Cipher: {
424
- new(): Cipher$instance;
424
+ new(): Cipher;
425
425
  };
426
426
 
427
427
 
@@ -435,7 +435,7 @@ export interface CipherNameAndProtocol$instance {
435
435
 
436
436
 
437
437
  export const CipherNameAndProtocol: {
438
- new(): CipherNameAndProtocol$instance;
438
+ new(): CipherNameAndProtocol;
439
439
  };
440
440
 
441
441
 
@@ -451,7 +451,7 @@ export interface CommonConnectionOptions$instance {
451
451
 
452
452
 
453
453
  export const CommonConnectionOptions: {
454
- new(): CommonConnectionOptions$instance;
454
+ new(): CommonConnectionOptions;
455
455
  };
456
456
 
457
457
 
@@ -470,7 +470,7 @@ export interface ConnectionOptions$instance extends CommonConnectionOptions {
470
470
 
471
471
 
472
472
  export const ConnectionOptions: {
473
- new(): ConnectionOptions$instance;
473
+ new(): ConnectionOptions;
474
474
  };
475
475
 
476
476
 
@@ -484,7 +484,7 @@ export interface CpuInfo$instance {
484
484
 
485
485
 
486
486
  export const CpuInfo: {
487
- new(): CpuInfo$instance;
487
+ new(): CpuInfo;
488
488
  };
489
489
 
490
490
 
@@ -500,7 +500,7 @@ export interface CpuTimes$instance {
500
500
 
501
501
 
502
502
  export const CpuTimes: {
503
- new(): CpuTimes$instance;
503
+ new(): CpuTimes;
504
504
  };
505
505
 
506
506
 
@@ -513,7 +513,7 @@ export interface CursorPosition$instance {
513
513
 
514
514
 
515
515
  export const CursorPosition: {
516
- new(): CursorPosition$instance;
516
+ new(): CursorPosition;
517
517
  };
518
518
 
519
519
 
@@ -531,7 +531,7 @@ export interface Decipher$instance extends Transform {
531
531
 
532
532
 
533
533
  export const Decipher: {
534
- new(): Decipher$instance;
534
+ new(): Decipher;
535
535
  };
536
536
 
537
537
 
@@ -543,7 +543,7 @@ export interface DetailedPeerCertificate$instance extends PeerCertificate {
543
543
 
544
544
 
545
545
  export const DetailedPeerCertificate: {
546
- new(): DetailedPeerCertificate$instance;
546
+ new(): DetailedPeerCertificate;
547
547
  };
548
548
 
549
549
 
@@ -590,7 +590,7 @@ export interface DgramSocket$instance extends EventEmitter {
590
590
 
591
591
 
592
592
  export const DgramSocket: {
593
- new(): DgramSocket$instance;
593
+ new(): DgramSocket;
594
594
  };
595
595
 
596
596
 
@@ -620,7 +620,7 @@ export interface DiffieHellman$instance {
620
620
 
621
621
 
622
622
  export const DiffieHellman: {
623
- new(): DiffieHellman$instance;
623
+ new(): DiffieHellman;
624
624
  };
625
625
 
626
626
 
@@ -636,7 +636,7 @@ export interface DSAPrivateKeyObject$instance extends KeyObject {
636
636
 
637
637
 
638
638
  export const DSAPrivateKeyObject: {
639
- new(): DSAPrivateKeyObject$instance;
639
+ new(): DSAPrivateKeyObject;
640
640
  };
641
641
 
642
642
 
@@ -652,7 +652,7 @@ export interface DSAPublicKeyObject$instance extends KeyObject {
652
652
 
653
653
 
654
654
  export const DSAPublicKeyObject: {
655
- new(): DSAPublicKeyObject$instance;
655
+ new(): DSAPublicKeyObject;
656
656
  };
657
657
 
658
658
 
@@ -672,7 +672,7 @@ export interface Duplex$instance extends Readable {
672
672
 
673
673
 
674
674
  export const Duplex: {
675
- new(): Duplex$instance;
675
+ new(): Duplex;
676
676
  };
677
677
 
678
678
 
@@ -697,7 +697,7 @@ export interface ECDH$instance {
697
697
 
698
698
 
699
699
  export const ECDH: {
700
- new(): ECDH$instance;
700
+ new(): ECDH;
701
701
  };
702
702
 
703
703
 
@@ -713,7 +713,7 @@ export interface EdDSAPrivateKeyObject$instance extends KeyObject {
713
713
 
714
714
 
715
715
  export const EdDSAPrivateKeyObject: {
716
- new(): EdDSAPrivateKeyObject$instance;
716
+ new(): EdDSAPrivateKeyObject;
717
717
  };
718
718
 
719
719
 
@@ -729,7 +729,7 @@ export interface EdDSAPublicKeyObject$instance extends KeyObject {
729
729
 
730
730
 
731
731
  export const EdDSAPublicKeyObject: {
732
- new(): EdDSAPublicKeyObject$instance;
732
+ new(): EdDSAPublicKeyObject;
733
733
  };
734
734
 
735
735
 
@@ -743,7 +743,7 @@ export interface EphemeralKeyInfo$instance {
743
743
 
744
744
 
745
745
  export const EphemeralKeyInfo: {
746
- new(): EphemeralKeyInfo$instance;
746
+ new(): EphemeralKeyInfo;
747
747
  };
748
748
 
749
749
 
@@ -769,7 +769,7 @@ export interface EventEmitter$instance {
769
769
 
770
770
 
771
771
  export const EventEmitter: {
772
- new(): EventEmitter$instance;
772
+ new(): EventEmitter;
773
773
  defaultMaxListeners: int;
774
774
  once(emitter: EventEmitter, eventName: string): Task<unknown[]>;
775
775
  };
@@ -797,7 +797,7 @@ export interface ExecOptions$instance {
797
797
 
798
798
 
799
799
  export const ExecOptions: {
800
- new(): ExecOptions$instance;
800
+ new(): ExecOptions;
801
801
  };
802
802
 
803
803
 
@@ -815,7 +815,7 @@ export interface Hash$instance extends Transform {
815
815
 
816
816
 
817
817
  export const Hash: {
818
- new(): Hash$instance;
818
+ new(): Hash;
819
819
  };
820
820
 
821
821
 
@@ -831,7 +831,7 @@ export interface Hmac$instance extends Transform {
831
831
 
832
832
 
833
833
  export const Hmac: {
834
- new(): Hmac$instance;
834
+ new(): Hmac;
835
835
  };
836
836
 
837
837
 
@@ -846,7 +846,7 @@ export interface Immediate$instance {
846
846
 
847
847
 
848
848
  export const Immediate: {
849
- new(): Immediate$instance;
849
+ new(): Immediate;
850
850
  };
851
851
 
852
852
 
@@ -869,7 +869,7 @@ export interface Interface$instance extends EventEmitter {
869
869
 
870
870
 
871
871
  export const Interface: {
872
- new(): Interface$instance;
872
+ new(): Interface;
873
873
  };
874
874
 
875
875
 
@@ -889,7 +889,7 @@ export interface InterfaceOptions$instance {
889
889
 
890
890
 
891
891
  export const InterfaceOptions: {
892
- new(): InterfaceOptions$instance;
892
+ new(): InterfaceOptions;
893
893
  };
894
894
 
895
895
 
@@ -901,7 +901,7 @@ export interface IpcSocketConnectOpts$instance {
901
901
 
902
902
 
903
903
  export const IpcSocketConnectOpts: {
904
- new(): IpcSocketConnectOpts$instance;
904
+ new(): IpcSocketConnectOpts;
905
905
  };
906
906
 
907
907
 
@@ -932,7 +932,7 @@ export interface ListenOptions$instance {
932
932
 
933
933
 
934
934
  export const ListenOptions: {
935
- new(): ListenOptions$instance;
935
+ new(): ListenOptions;
936
936
  };
937
937
 
938
938
 
@@ -945,7 +945,7 @@ export interface LookupAddress$instance {
945
945
 
946
946
 
947
947
  export const LookupAddress: {
948
- new(): LookupAddress$instance;
948
+ new(): LookupAddress;
949
949
  };
950
950
 
951
951
 
@@ -961,7 +961,7 @@ export interface LookupOptions$instance {
961
961
 
962
962
 
963
963
  export const LookupOptions: {
964
- new(): LookupOptions$instance;
964
+ new(): LookupOptions;
965
965
  };
966
966
 
967
967
 
@@ -974,7 +974,7 @@ export interface MarkOptions$instance {
974
974
 
975
975
 
976
976
  export const MarkOptions: {
977
- new(): MarkOptions$instance;
977
+ new(): MarkOptions;
978
978
  };
979
979
 
980
980
 
@@ -990,7 +990,7 @@ export interface MeasureOptions$instance {
990
990
 
991
991
 
992
992
  export const MeasureOptions: {
993
- new(): MeasureOptions$instance;
993
+ new(): MeasureOptions;
994
994
  };
995
995
 
996
996
 
@@ -1003,7 +1003,7 @@ export interface MxRecord$instance {
1003
1003
 
1004
1004
 
1005
1005
  export const MxRecord: {
1006
- new(): MxRecord$instance;
1006
+ new(): MxRecord;
1007
1007
  };
1008
1008
 
1009
1009
 
@@ -1020,7 +1020,7 @@ export interface NaptrRecord$instance {
1020
1020
 
1021
1021
 
1022
1022
  export const NaptrRecord: {
1023
- new(): NaptrRecord$instance;
1023
+ new(): NaptrRecord;
1024
1024
  };
1025
1025
 
1026
1026
 
@@ -1036,7 +1036,7 @@ export interface ParsedPath$instance {
1036
1036
 
1037
1037
 
1038
1038
  export const ParsedPath: {
1039
- new(): ParsedPath$instance;
1039
+ new(): ParsedPath;
1040
1040
  };
1041
1041
 
1042
1042
 
@@ -1047,7 +1047,7 @@ export interface PassThrough$instance extends Transform {
1047
1047
 
1048
1048
 
1049
1049
  export const PassThrough: {
1050
- new(): PassThrough$instance;
1050
+ new(): PassThrough;
1051
1051
  };
1052
1052
 
1053
1053
 
@@ -1074,7 +1074,7 @@ export interface PathModule$instance {
1074
1074
 
1075
1075
 
1076
1076
  export const PathModule: {
1077
- new(): PathModule$instance;
1077
+ new(): PathModule;
1078
1078
  readonly instance: PathModule;
1079
1079
  };
1080
1080
 
@@ -1098,7 +1098,7 @@ export interface PeerCertificate$instance {
1098
1098
 
1099
1099
 
1100
1100
  export const PeerCertificate: {
1101
- new(): PeerCertificate$instance;
1101
+ new(): PeerCertificate;
1102
1102
  };
1103
1103
 
1104
1104
 
@@ -1113,7 +1113,7 @@ export interface PerformanceEntry$instance {
1113
1113
 
1114
1114
 
1115
1115
  export const PerformanceEntry: {
1116
- new(): PerformanceEntry$instance;
1116
+ new(): PerformanceEntry;
1117
1117
  };
1118
1118
 
1119
1119
 
@@ -1125,7 +1125,7 @@ export interface PerformanceMark$instance extends PerformanceEntry {
1125
1125
 
1126
1126
 
1127
1127
  export const PerformanceMark: {
1128
- new(name: string, startTime: double, detail: unknown): PerformanceMark$instance;
1128
+ new(name: string, startTime: double, detail: unknown): PerformanceMark;
1129
1129
  };
1130
1130
 
1131
1131
 
@@ -1137,7 +1137,7 @@ export interface PerformanceMeasure$instance extends PerformanceEntry {
1137
1137
 
1138
1138
 
1139
1139
  export const PerformanceMeasure: {
1140
- new(name: string, startTime: double, duration: double, detail: unknown): PerformanceMeasure$instance;
1140
+ new(name: string, startTime: double, duration: double, detail: unknown): PerformanceMeasure;
1141
1141
  };
1142
1142
 
1143
1143
 
@@ -1151,7 +1151,7 @@ export interface PerformanceObserver$instance {
1151
1151
 
1152
1152
 
1153
1153
  export const PerformanceObserver: {
1154
- new(callback: Action<PerformanceObserverEntryList, PerformanceObserver>): PerformanceObserver$instance;
1154
+ new(callback: Action<PerformanceObserverEntryList, PerformanceObserver>): PerformanceObserver;
1155
1155
  supportedEntryTypes(): string[];
1156
1156
  };
1157
1157
 
@@ -1166,7 +1166,7 @@ export interface PerformanceObserverEntryList$instance {
1166
1166
 
1167
1167
 
1168
1168
  export const PerformanceObserverEntryList: {
1169
- new(entries: PerformanceEntry[]): PerformanceObserverEntryList$instance;
1169
+ new(entries: PerformanceEntry[]): PerformanceObserverEntryList;
1170
1170
  };
1171
1171
 
1172
1172
 
@@ -1179,7 +1179,7 @@ export interface PerformanceObserverOptions$instance {
1179
1179
 
1180
1180
 
1181
1181
  export const PerformanceObserverOptions: {
1182
- new(): PerformanceObserverOptions$instance;
1182
+ new(): PerformanceObserverOptions;
1183
1183
  };
1184
1184
 
1185
1185
 
@@ -1196,7 +1196,7 @@ export interface PrivateKeyObject$instance extends KeyObject {
1196
1196
 
1197
1197
 
1198
1198
  export const PrivateKeyObject: {
1199
- new(): PrivateKeyObject$instance;
1199
+ new(): PrivateKeyObject;
1200
1200
  };
1201
1201
 
1202
1202
 
@@ -1222,7 +1222,7 @@ export interface ProcessEnv$instance {
1222
1222
 
1223
1223
 
1224
1224
  export const ProcessEnv: {
1225
- new(): ProcessEnv$instance;
1225
+ new(): ProcessEnv;
1226
1226
  };
1227
1227
 
1228
1228
 
@@ -1237,7 +1237,7 @@ export interface ProcessVersions$instance {
1237
1237
 
1238
1238
 
1239
1239
  export const ProcessVersions: {
1240
- new(): ProcessVersions$instance;
1240
+ new(): ProcessVersions;
1241
1241
  };
1242
1242
 
1243
1243
 
@@ -1254,7 +1254,7 @@ export interface PublicKeyObject$instance extends KeyObject {
1254
1254
 
1255
1255
 
1256
1256
  export const PublicKeyObject: {
1257
- new(): PublicKeyObject$instance;
1257
+ new(): PublicKeyObject;
1258
1258
  };
1259
1259
 
1260
1260
 
@@ -1279,7 +1279,7 @@ export interface Readable$instance extends Stream {
1279
1279
 
1280
1280
 
1281
1281
  export const Readable: {
1282
- new(): Readable$instance;
1282
+ new(): Readable;
1283
1283
  };
1284
1284
 
1285
1285
 
@@ -1292,7 +1292,7 @@ export interface RecordWithTtl$instance {
1292
1292
 
1293
1293
 
1294
1294
  export const RecordWithTtl: {
1295
- new(): RecordWithTtl$instance;
1295
+ new(): RecordWithTtl;
1296
1296
  };
1297
1297
 
1298
1298
 
@@ -1307,7 +1307,7 @@ export interface RemoteInfo$instance {
1307
1307
 
1308
1308
 
1309
1309
  export const RemoteInfo: {
1310
- new(): RemoteInfo$instance;
1310
+ new(): RemoteInfo;
1311
1311
  };
1312
1312
 
1313
1313
 
@@ -1319,7 +1319,7 @@ export interface ResolveOptions$instance {
1319
1319
 
1320
1320
 
1321
1321
  export const ResolveOptions: {
1322
- new(): ResolveOptions$instance;
1322
+ new(): ResolveOptions;
1323
1323
  };
1324
1324
 
1325
1325
 
@@ -1352,8 +1352,8 @@ export interface Resolver$instance {
1352
1352
 
1353
1353
 
1354
1354
  export const Resolver: {
1355
- new(): Resolver$instance;
1356
- new(options: ResolverOptions): Resolver$instance;
1355
+ new(): Resolver;
1356
+ new(options: ResolverOptions): Resolver;
1357
1357
  };
1358
1358
 
1359
1359
 
@@ -1367,7 +1367,7 @@ export interface ResolverOptions$instance {
1367
1367
 
1368
1368
 
1369
1369
  export const ResolverOptions: {
1370
- new(): ResolverOptions$instance;
1370
+ new(): ResolverOptions;
1371
1371
  };
1372
1372
 
1373
1373
 
@@ -1384,7 +1384,7 @@ export interface SecretKeyObject$instance extends KeyObject {
1384
1384
 
1385
1385
 
1386
1386
  export const SecretKeyObject: {
1387
- new(): SecretKeyObject$instance;
1387
+ new(): SecretKeyObject;
1388
1388
  };
1389
1389
 
1390
1390
 
@@ -1402,7 +1402,7 @@ export interface SecureContext$instance {
1402
1402
 
1403
1403
 
1404
1404
  export const SecureContext: {
1405
- new(): SecureContext$instance;
1405
+ new(): SecureContext;
1406
1406
  };
1407
1407
 
1408
1408
 
@@ -1421,7 +1421,7 @@ export interface SecureContextOptions$instance {
1421
1421
 
1422
1422
 
1423
1423
  export const SecureContextOptions: {
1424
- new(): SecureContextOptions$instance;
1424
+ new(): SecureContextOptions;
1425
1425
  };
1426
1426
 
1427
1427
 
@@ -1444,9 +1444,9 @@ export interface Server$instance extends EventEmitter {
1444
1444
 
1445
1445
 
1446
1446
  export const Server: {
1447
- new(): Server$instance;
1448
- new(connectionListener: Action<Socket>): Server$instance;
1449
- new(options: ServerOpts, connectionListener: Action<Socket>): Server$instance;
1447
+ new(): Server;
1448
+ new(connectionListener: Action<Socket>): Server;
1449
+ new(options: ServerOpts, connectionListener: Action<Socket>): Server;
1450
1450
  };
1451
1451
 
1452
1452
 
@@ -1459,7 +1459,7 @@ export interface ServerOpts$instance {
1459
1459
 
1460
1460
 
1461
1461
  export const ServerOpts: {
1462
- new(): ServerOpts$instance;
1462
+ new(): ServerOpts;
1463
1463
  };
1464
1464
 
1465
1465
 
@@ -1477,7 +1477,7 @@ export interface Sign$instance extends Transform {
1477
1477
 
1478
1478
 
1479
1479
  export const Sign: {
1480
- new(): Sign$instance;
1480
+ new(): Sign;
1481
1481
  };
1482
1482
 
1483
1483
 
@@ -1495,7 +1495,7 @@ export interface SoaRecord$instance {
1495
1495
 
1496
1496
 
1497
1497
  export const SoaRecord: {
1498
- new(): SoaRecord$instance;
1498
+ new(): SoaRecord;
1499
1499
  };
1500
1500
 
1501
1501
 
@@ -1538,8 +1538,8 @@ export interface Socket$instance extends Stream {
1538
1538
 
1539
1539
 
1540
1540
  export const Socket: {
1541
- new(): Socket$instance;
1542
- new(options: SocketConstructorOpts): Socket$instance;
1541
+ new(): Socket;
1542
+ new(options: SocketConstructorOpts): Socket;
1543
1543
  };
1544
1544
 
1545
1545
 
@@ -1554,7 +1554,7 @@ export interface SocketAddress$instance {
1554
1554
 
1555
1555
 
1556
1556
  export const SocketAddress: {
1557
- new(options: SocketAddressInitOptions): SocketAddress$instance;
1557
+ new(options: SocketAddressInitOptions): SocketAddress;
1558
1558
  };
1559
1559
 
1560
1560
 
@@ -1569,7 +1569,7 @@ export interface SocketAddressInitOptions$instance {
1569
1569
 
1570
1570
 
1571
1571
  export const SocketAddressInitOptions: {
1572
- new(): SocketAddressInitOptions$instance;
1572
+ new(): SocketAddressInitOptions;
1573
1573
  };
1574
1574
 
1575
1575
 
@@ -1584,7 +1584,7 @@ export interface SocketConstructorOpts$instance {
1584
1584
 
1585
1585
 
1586
1586
  export const SocketConstructorOpts: {
1587
- new(): SocketConstructorOpts$instance;
1587
+ new(): SocketConstructorOpts;
1588
1588
  };
1589
1589
 
1590
1590
 
@@ -1601,7 +1601,7 @@ export interface SocketOptions$instance {
1601
1601
 
1602
1602
 
1603
1603
  export const SocketOptions: {
1604
- new(): SocketOptions$instance;
1604
+ new(): SocketOptions;
1605
1605
  };
1606
1606
 
1607
1607
 
@@ -1619,7 +1619,7 @@ export interface SpawnSyncReturns_1$instance<T> {
1619
1619
 
1620
1620
 
1621
1621
  export const SpawnSyncReturns_1: {
1622
- new<T>(): SpawnSyncReturns_1$instance<T>;
1622
+ new<T>(): SpawnSyncReturns_1<T>;
1623
1623
  };
1624
1624
 
1625
1625
 
@@ -1634,7 +1634,7 @@ export interface SrvRecord$instance {
1634
1634
 
1635
1635
 
1636
1636
  export const SrvRecord: {
1637
- new(): SrvRecord$instance;
1637
+ new(): SrvRecord;
1638
1638
  };
1639
1639
 
1640
1640
 
@@ -1660,7 +1660,7 @@ export interface Stats$instance {
1660
1660
 
1661
1661
 
1662
1662
  export const Stats: {
1663
- new(): Stats$instance;
1663
+ new(): Stats;
1664
1664
  };
1665
1665
 
1666
1666
 
@@ -1673,7 +1673,7 @@ export interface Stream$instance extends EventEmitter {
1673
1673
 
1674
1674
 
1675
1675
  export const Stream: {
1676
- new(): Stream$instance;
1676
+ new(): Stream;
1677
1677
  };
1678
1678
 
1679
1679
 
@@ -1686,7 +1686,7 @@ export interface StringDecoder$instance {
1686
1686
 
1687
1687
 
1688
1688
  export const StringDecoder: {
1689
- new(encoding: string): StringDecoder$instance;
1689
+ new(encoding: string): StringDecoder;
1690
1690
  };
1691
1691
 
1692
1692
 
@@ -1706,7 +1706,7 @@ export interface TcpSocketConnectOpts$instance {
1706
1706
 
1707
1707
 
1708
1708
  export const TcpSocketConnectOpts: {
1709
- new(): TcpSocketConnectOpts$instance;
1709
+ new(): TcpSocketConnectOpts;
1710
1710
  };
1711
1711
 
1712
1712
 
@@ -1723,7 +1723,7 @@ export interface Timeout$instance {
1723
1723
 
1724
1724
 
1725
1725
  export const Timeout: {
1726
- new(): Timeout$instance;
1726
+ new(): Timeout;
1727
1727
  };
1728
1728
 
1729
1729
 
@@ -1738,7 +1738,7 @@ export interface TlsaRecord$instance {
1738
1738
 
1739
1739
 
1740
1740
  export const TlsaRecord: {
1741
- new(): TlsaRecord$instance;
1741
+ new(): TlsaRecord;
1742
1742
  };
1743
1743
 
1744
1744
 
@@ -1755,7 +1755,7 @@ export interface TLSCertificateInfo$instance {
1755
1755
 
1756
1756
 
1757
1757
  export const TLSCertificateInfo: {
1758
- new(): TLSCertificateInfo$instance;
1758
+ new(): TLSCertificateInfo;
1759
1759
  };
1760
1760
 
1761
1761
 
@@ -1774,7 +1774,7 @@ export interface TlsOptions$instance extends CommonConnectionOptions {
1774
1774
 
1775
1775
 
1776
1776
  export const TlsOptions: {
1777
- new(): TlsOptions$instance;
1777
+ new(): TlsOptions;
1778
1778
  };
1779
1779
 
1780
1780
 
@@ -1789,9 +1789,9 @@ export interface TLSServer$instance extends Server {
1789
1789
 
1790
1790
 
1791
1791
  export const TLSServer: {
1792
- new(): TLSServer$instance;
1793
- new(secureConnectionListener: Action<TLSSocket>): TLSServer$instance;
1794
- new(options: TlsOptions, secureConnectionListener: Action<TLSSocket>): TLSServer$instance;
1792
+ new(): TLSServer;
1793
+ new(secureConnectionListener: Action<TLSSocket>): TLSServer;
1794
+ new(options: TlsOptions, secureConnectionListener: Action<TLSSocket>): TLSServer;
1795
1795
  };
1796
1796
 
1797
1797
 
@@ -1830,7 +1830,7 @@ export interface TLSSocket$instance extends Socket {
1830
1830
 
1831
1831
 
1832
1832
  export const TLSSocket: {
1833
- new(socket: Socket, options: TLSSocketOptions): TLSSocket$instance;
1833
+ new(socket: Socket, options: TLSSocketOptions): TLSSocket;
1834
1834
  };
1835
1835
 
1836
1836
 
@@ -1848,7 +1848,7 @@ export interface TLSSocketOptions$instance extends CommonConnectionOptions {
1848
1848
 
1849
1849
 
1850
1850
  export const TLSSocketOptions: {
1851
- new(): TLSSocketOptions$instance;
1851
+ new(): TLSSocketOptions;
1852
1852
  };
1853
1853
 
1854
1854
 
@@ -1859,7 +1859,7 @@ export interface Transform$instance extends Duplex {
1859
1859
 
1860
1860
 
1861
1861
  export const Transform: {
1862
- new(): Transform$instance;
1862
+ new(): Transform;
1863
1863
  };
1864
1864
 
1865
1865
 
@@ -1884,7 +1884,7 @@ export interface URL$instance {
1884
1884
 
1885
1885
 
1886
1886
  export const URL: {
1887
- new(input: string, base: string): URL$instance;
1887
+ new(input: string, base: string): URL;
1888
1888
  canParse(input: string, base?: string): boolean;
1889
1889
  parse(input: string, base?: string): URL;
1890
1890
  };
@@ -1910,7 +1910,7 @@ export interface URLSearchParams$instance {
1910
1910
 
1911
1911
 
1912
1912
  export const URLSearchParams: {
1913
- new(init: string): URLSearchParams$instance;
1913
+ new(init: string): URLSearchParams;
1914
1914
  };
1915
1915
 
1916
1916
 
@@ -1926,7 +1926,7 @@ export interface UserInfo$instance {
1926
1926
 
1927
1927
 
1928
1928
  export const UserInfo: {
1929
- new(): UserInfo$instance;
1929
+ new(): UserInfo;
1930
1930
  };
1931
1931
 
1932
1932
 
@@ -1944,7 +1944,7 @@ export interface Verify$instance extends Transform {
1944
1944
 
1945
1945
 
1946
1946
  export const Verify: {
1947
- new(): Verify$instance;
1947
+ new(): Verify;
1948
1948
  };
1949
1949
 
1950
1950
 
@@ -1965,7 +1965,7 @@ export interface Writable$instance extends Stream {
1965
1965
 
1966
1966
 
1967
1967
  export const Writable: {
1968
- new(): Writable$instance;
1968
+ new(): Writable;
1969
1969
  };
1970
1970
 
1971
1971
 
@@ -1993,7 +1993,7 @@ export interface X509CertificateInfo$instance {
1993
1993
 
1994
1994
 
1995
1995
  export const X509CertificateInfo: {
1996
- new(): X509CertificateInfo$instance;
1996
+ new(): X509CertificateInfo;
1997
1997
  };
1998
1998
 
1999
1999
 
@@ -2010,7 +2010,7 @@ export interface ZlibOptions$instance {
2010
2010
 
2011
2011
 
2012
2012
  export const ZlibOptions: {
2013
- new(): ZlibOptions$instance;
2013
+ new(): ZlibOptions;
2014
2014
  };
2015
2015
 
2016
2016
 
@@ -23,7 +23,7 @@ export interface AddressInfo$instance {
23
23
 
24
24
 
25
25
  export const AddressInfo: {
26
- new(): AddressInfo$instance;
26
+ new(): AddressInfo;
27
27
  };
28
28
 
29
29
 
@@ -47,7 +47,7 @@ export interface ClientRequest$instance extends EventEmitter {
47
47
 
48
48
 
49
49
  export const ClientRequest: {
50
- new(): ClientRequest$instance;
50
+ new(): ClientRequest;
51
51
  };
52
52
 
53
53
 
@@ -71,7 +71,7 @@ export interface IncomingMessage$instance extends EventEmitter {
71
71
 
72
72
 
73
73
  export const IncomingMessage: {
74
- new(): IncomingMessage$instance;
74
+ new(): IncomingMessage;
75
75
  };
76
76
 
77
77
 
@@ -92,7 +92,7 @@ export interface RequestOptions$instance {
92
92
 
93
93
 
94
94
  export const RequestOptions: {
95
- new(): RequestOptions$instance;
95
+ new(): RequestOptions;
96
96
  };
97
97
 
98
98
 
@@ -114,7 +114,7 @@ export interface Server$instance extends EventEmitter {
114
114
 
115
115
 
116
116
  export const Server: {
117
- new(requestListener: Action<IncomingMessage, ServerResponse>): Server$instance;
117
+ new(requestListener: Action<IncomingMessage, ServerResponse>): Server;
118
118
  };
119
119
 
120
120
 
@@ -141,7 +141,7 @@ export interface ServerResponse$instance extends EventEmitter {
141
141
 
142
142
 
143
143
  export const ServerResponse: {
144
- new(): ServerResponse$instance;
144
+ new(): ServerResponse;
145
145
  };
146
146
 
147
147
 
@@ -152,7 +152,7 @@ export interface TypeError$instance extends Exception {
152
152
 
153
153
 
154
154
  export const TypeError: {
155
- new(message: string): TypeError$instance;
155
+ new(message: string): TypeError;
156
156
  };
157
157
 
158
158
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsonic/nodejs",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "TypeScript type definitions for Node.js CLR library",
5
5
  "type": "module",
6
6
  "keywords": [