@tsonic/dotnet 10.0.39 → 10.0.41
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.
- package/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Internal
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Internal from "../../System/internal/index.js";
|
|
@@ -12,7 +13,7 @@ import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrSt
|
|
|
12
13
|
export abstract class Console$instance {
|
|
13
14
|
static Write(s: string): void;
|
|
14
15
|
static WriteLine(): void;
|
|
15
|
-
static WriteLine(s: string): void;
|
|
16
|
+
static WriteLine(s: string | null): void;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.CSharp.RuntimeBinder
|
|
3
3
|
// Assembly: Microsoft.CSharp
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -48,7 +49,7 @@ export interface CSharpArgumentInfo$instance {
|
|
|
48
49
|
|
|
49
50
|
|
|
50
51
|
export const CSharpArgumentInfo: {
|
|
51
|
-
Create(flags: CSharpArgumentInfoFlags, name: string): CSharpArgumentInfo;
|
|
52
|
+
Create(flags: CSharpArgumentInfoFlags, name: string | null): CSharpArgumentInfo;
|
|
52
53
|
};
|
|
53
54
|
|
|
54
55
|
|
|
@@ -64,8 +65,8 @@ export interface RuntimeBinderException$instance extends Exception, System_Runti
|
|
|
64
65
|
|
|
65
66
|
export const RuntimeBinderException: {
|
|
66
67
|
new(): RuntimeBinderException;
|
|
67
|
-
new(message: string): RuntimeBinderException;
|
|
68
|
-
new(message: string, innerException: Exception): RuntimeBinderException;
|
|
68
|
+
new(message: string | null): RuntimeBinderException;
|
|
69
|
+
new(message: string | null, innerException: Exception | null): RuntimeBinderException;
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
|
|
@@ -86,8 +87,8 @@ export interface RuntimeBinderInternalCompilerException$instance extends Excepti
|
|
|
86
87
|
|
|
87
88
|
export const RuntimeBinderInternalCompilerException: {
|
|
88
89
|
new(): RuntimeBinderInternalCompilerException;
|
|
89
|
-
new(message: string): RuntimeBinderInternalCompilerException;
|
|
90
|
-
new(message: string, innerException: Exception): RuntimeBinderInternalCompilerException;
|
|
90
|
+
new(message: string | null): RuntimeBinderInternalCompilerException;
|
|
91
|
+
new(message: string | null, innerException: Exception | null): RuntimeBinderInternalCompilerException;
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
|
|
@@ -99,17 +100,17 @@ export type RuntimeBinderInternalCompilerException = RuntimeBinderInternalCompil
|
|
|
99
100
|
|
|
100
101
|
|
|
101
102
|
export abstract class Binder$instance {
|
|
102
|
-
static BinaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
103
|
-
static Convert(flags: CSharpBinderFlags, type: Type, context: Type): CallSiteBinder;
|
|
104
|
-
static GetIndex(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
105
|
-
static GetMember(flags: CSharpBinderFlags, name: string, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
106
|
-
static Invoke(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
107
|
-
static InvokeConstructor(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
108
|
-
static InvokeMember(flags: CSharpBinderFlags, name: string, typeArguments: IEnumerable_1<Type
|
|
109
|
-
static IsEvent(flags: CSharpBinderFlags, name: string, context: Type): CallSiteBinder;
|
|
110
|
-
static SetIndex(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
111
|
-
static SetMember(flags: CSharpBinderFlags, name: string, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
112
|
-
static UnaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
|
|
103
|
+
static BinaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
104
|
+
static Convert(flags: CSharpBinderFlags, type: Type, context: Type | null): CallSiteBinder;
|
|
105
|
+
static GetIndex(flags: CSharpBinderFlags, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
106
|
+
static GetMember(flags: CSharpBinderFlags, name: string, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
107
|
+
static Invoke(flags: CSharpBinderFlags, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
108
|
+
static InvokeConstructor(flags: CSharpBinderFlags, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
109
|
+
static InvokeMember(flags: CSharpBinderFlags, name: string, typeArguments: IEnumerable_1<Type> | null, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
110
|
+
static IsEvent(flags: CSharpBinderFlags, name: string, context: Type | null): CallSiteBinder;
|
|
111
|
+
static SetIndex(flags: CSharpBinderFlags, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
112
|
+
static SetMember(flags: CSharpBinderFlags, name: string, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
113
|
+
static UnaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type | null, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | null): CallSiteBinder;
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.VisualBasic
|
|
3
3
|
// Assembly: Microsoft.VisualBasic.Core
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
|
|
@@ -240,12 +238,12 @@ export interface Collection$instance {
|
|
|
240
238
|
readonly __tsonic_iface_System_Collections_IList: never;
|
|
241
239
|
|
|
242
240
|
readonly Count: int;
|
|
243
|
-
Add(Item:
|
|
241
|
+
Add(Item: JsValue, Key?: string, Before?: JsValue, After?: JsValue): void;
|
|
244
242
|
Clear(): void;
|
|
245
243
|
Contains(Key: string): boolean;
|
|
246
|
-
get_Item(Index: int):
|
|
247
|
-
get_Item(Key: string):
|
|
248
|
-
get_Item(Index:
|
|
244
|
+
get_Item(Index: int): JsValue;
|
|
245
|
+
get_Item(Key: string): JsValue;
|
|
246
|
+
get_Item(Index: JsValue): JsValue;
|
|
249
247
|
GetEnumerator(): IEnumerator;
|
|
250
248
|
Remove(Key: string): void;
|
|
251
249
|
Remove(Index: int): void;
|
|
@@ -430,8 +428,8 @@ export interface Conversion$instance {
|
|
|
430
428
|
|
|
431
429
|
|
|
432
430
|
export const Conversion: {
|
|
433
|
-
CTypeDynamic(Expression:
|
|
434
|
-
CTypeDynamic<TargetType>(Expression:
|
|
431
|
+
CTypeDynamic(Expression: JsValue, TargetType: Type): JsValue;
|
|
432
|
+
CTypeDynamic<TargetType>(Expression: JsValue): TargetType;
|
|
435
433
|
ErrorToString(): string;
|
|
436
434
|
ErrorToString(ErrorNumber: int): string;
|
|
437
435
|
Fix(Number: decimal): decimal;
|
|
@@ -439,13 +437,13 @@ export const Conversion: {
|
|
|
439
437
|
Fix(Number: short): short;
|
|
440
438
|
Fix(Number: int): int;
|
|
441
439
|
Fix(Number: long): long;
|
|
442
|
-
Fix(Number:
|
|
440
|
+
Fix(Number: JsValue): JsValue;
|
|
443
441
|
Fix(Number: float): float;
|
|
444
442
|
Hex(Number: byte): string;
|
|
445
443
|
Hex(Number: short): string;
|
|
446
444
|
Hex(Number: int): string;
|
|
447
445
|
Hex(Number: long): string;
|
|
448
|
-
Hex(Number:
|
|
446
|
+
Hex(Number: JsValue): string;
|
|
449
447
|
Hex(Number: sbyte): string;
|
|
450
448
|
Hex(Number: ushort): string;
|
|
451
449
|
Hex(Number: uint): string;
|
|
@@ -455,20 +453,20 @@ export const Conversion: {
|
|
|
455
453
|
Int(Number: short): short;
|
|
456
454
|
Int(Number: int): int;
|
|
457
455
|
Int(Number: long): long;
|
|
458
|
-
Int(Number:
|
|
456
|
+
Int(Number: JsValue): JsValue;
|
|
459
457
|
Int(Number: float): float;
|
|
460
458
|
Oct(Number: byte): string;
|
|
461
459
|
Oct(Number: short): string;
|
|
462
460
|
Oct(Number: int): string;
|
|
463
461
|
Oct(Number: long): string;
|
|
464
|
-
Oct(Number:
|
|
462
|
+
Oct(Number: JsValue): string;
|
|
465
463
|
Oct(Number: sbyte): string;
|
|
466
464
|
Oct(Number: ushort): string;
|
|
467
465
|
Oct(Number: uint): string;
|
|
468
466
|
Oct(Number: ulong): string;
|
|
469
|
-
Str(Number:
|
|
467
|
+
Str(Number: JsValue): string;
|
|
470
468
|
Val(Expression: char): int;
|
|
471
|
-
Val(Expression:
|
|
469
|
+
Val(Expression: JsValue): double;
|
|
472
470
|
Val(InputStr: string): double;
|
|
473
471
|
};
|
|
474
472
|
|
|
@@ -489,11 +487,11 @@ export const DateAndTime: {
|
|
|
489
487
|
DateString: string;
|
|
490
488
|
readonly Timer: double;
|
|
491
489
|
DateAdd(Interval: DateInterval, Number: double, DateValue: DateTime): DateTime;
|
|
492
|
-
DateAdd(Interval: string, Number: double, DateValue:
|
|
490
|
+
DateAdd(Interval: string, Number: double, DateValue: JsValue): DateTime;
|
|
493
491
|
DateDiff(Interval: DateInterval, Date1: DateTime, Date2: DateTime, DayOfWeek?: FirstDayOfWeek, WeekOfYear?: FirstWeekOfYear): long;
|
|
494
|
-
DateDiff(Interval: string, Date1:
|
|
492
|
+
DateDiff(Interval: string, Date1: JsValue, Date2: JsValue, DayOfWeek?: FirstDayOfWeek, WeekOfYear?: FirstWeekOfYear): long;
|
|
495
493
|
DatePart(Interval: DateInterval, DateValue: DateTime, FirstDayOfWeekValue?: FirstDayOfWeek, FirstWeekOfYearValue?: FirstWeekOfYear): int;
|
|
496
|
-
DatePart(Interval: string, DateValue:
|
|
494
|
+
DatePart(Interval: string, DateValue: JsValue, DayOfWeek?: FirstDayOfWeek, WeekOfYear?: FirstWeekOfYear): int;
|
|
497
495
|
DateSerial(Year: int, Month: int, Day: int): DateTime;
|
|
498
496
|
DateValue(StringDate: string): DateTime;
|
|
499
497
|
Day(DateValue: DateTime): int;
|
|
@@ -524,7 +522,7 @@ export interface ErrObject$instance {
|
|
|
524
522
|
Source: string;
|
|
525
523
|
Clear(): void;
|
|
526
524
|
GetException(): Exception;
|
|
527
|
-
Raise(Number: int, Source?:
|
|
525
|
+
Raise(Number: int, Source?: JsValue, Description?: JsValue, HelpFile?: JsValue, HelpContext?: JsValue): void;
|
|
528
526
|
}
|
|
529
527
|
|
|
530
528
|
|
|
@@ -565,8 +563,8 @@ export const FileSystem: {
|
|
|
565
563
|
FileGet(FileNumber: int, Value: long, RecordNumber?: long): void;
|
|
566
564
|
FileGet(FileNumber: int, Value: float, RecordNumber?: long): void;
|
|
567
565
|
FileGet(FileNumber: int, Value: string, RecordNumber?: long, StringIsFixedLength?: boolean): void;
|
|
568
|
-
FileGet(FileNumber: int, Value:
|
|
569
|
-
FileGetObject(FileNumber: int, Value:
|
|
566
|
+
FileGet(FileNumber: int, Value: NonNullable<JsValue>, RecordNumber?: long): void;
|
|
567
|
+
FileGetObject(FileNumber: int, Value: JsValue, RecordNumber?: long): void;
|
|
570
568
|
FileLen(PathName: string): long;
|
|
571
569
|
FileOpen(FileNumber: int, FileName: string, Mode: OpenMode, Access?: OpenAccess, Share?: OpenShare, RecordLength?: int): void;
|
|
572
570
|
FilePut(FileNumber: int, Value: ClrArray, RecordNumber?: long, ArrayIsDynamic?: boolean, StringIsFixedLength?: boolean): void;
|
|
@@ -581,9 +579,9 @@ export const FileSystem: {
|
|
|
581
579
|
FilePut(FileNumber: int, Value: long, RecordNumber?: long): void;
|
|
582
580
|
FilePut(FileNumber: int, Value: float, RecordNumber?: long): void;
|
|
583
581
|
FilePut(FileNumber: int, Value: string, RecordNumber?: long, StringIsFixedLength?: boolean): void;
|
|
584
|
-
FilePut(FileNumber: int, Value:
|
|
585
|
-
FilePut(FileNumber:
|
|
586
|
-
FilePutObject(FileNumber: int, Value:
|
|
582
|
+
FilePut(FileNumber: int, Value: NonNullable<JsValue>, RecordNumber?: long): void;
|
|
583
|
+
FilePut(FileNumber: JsValue, Value: JsValue, RecordNumber?: JsValue): void;
|
|
584
|
+
FilePutObject(FileNumber: int, Value: JsValue, RecordNumber?: long): void;
|
|
587
585
|
FileWidth(FileNumber: int, RecordWidth: int): void;
|
|
588
586
|
FreeFile(): int;
|
|
589
587
|
GetAttr(PathName: string): FileAttribute;
|
|
@@ -596,7 +594,7 @@ export const FileSystem: {
|
|
|
596
594
|
Input(FileNumber: int, Value: short): void;
|
|
597
595
|
Input(FileNumber: int, Value: int): void;
|
|
598
596
|
Input(FileNumber: int, Value: long): void;
|
|
599
|
-
Input(FileNumber: int, Value:
|
|
597
|
+
Input(FileNumber: int, Value: JsValue): void;
|
|
600
598
|
Input(FileNumber: int, Value: float): void;
|
|
601
599
|
Input(FileNumber: int, Value: string): void;
|
|
602
600
|
InputString(FileNumber: int, CharCount: int): string;
|
|
@@ -608,8 +606,8 @@ export const FileSystem: {
|
|
|
608
606
|
Lock(FileNumber: int): void;
|
|
609
607
|
LOF(FileNumber: int): long;
|
|
610
608
|
MkDir(Path: string): void;
|
|
611
|
-
Print(FileNumber: int, ...Output:
|
|
612
|
-
PrintLine(FileNumber: int, ...Output:
|
|
609
|
+
Print(FileNumber: int, ...Output: JsValue[]): void;
|
|
610
|
+
PrintLine(FileNumber: int, ...Output: JsValue[]): void;
|
|
613
611
|
Rename(OldPath: string, NewPath: string): void;
|
|
614
612
|
Reset(): void;
|
|
615
613
|
RmDir(Path: string): void;
|
|
@@ -622,8 +620,8 @@ export const FileSystem: {
|
|
|
622
620
|
Unlock(FileNumber: int, FromRecord: long, ToRecord: long): void;
|
|
623
621
|
Unlock(FileNumber: int, Record: long): void;
|
|
624
622
|
Unlock(FileNumber: int): void;
|
|
625
|
-
Write(FileNumber: int, ...Output:
|
|
626
|
-
WriteLine(FileNumber: int, ...Output:
|
|
623
|
+
Write(FileNumber: int, ...Output: JsValue[]): void;
|
|
624
|
+
WriteLine(FileNumber: int, ...Output: JsValue[]): void;
|
|
627
625
|
};
|
|
628
626
|
|
|
629
627
|
|
|
@@ -676,20 +674,20 @@ export interface Information$instance {
|
|
|
676
674
|
export const Information: {
|
|
677
675
|
Erl(): int;
|
|
678
676
|
Err(): ErrObject;
|
|
679
|
-
IsArray(VarName:
|
|
680
|
-
IsDate(Expression:
|
|
681
|
-
IsDBNull(Expression:
|
|
682
|
-
IsError(Expression:
|
|
683
|
-
IsNothing(Expression:
|
|
684
|
-
IsNumeric(Expression:
|
|
685
|
-
IsReference(Expression:
|
|
677
|
+
IsArray(VarName: JsValue): boolean;
|
|
678
|
+
IsDate(Expression: JsValue): boolean;
|
|
679
|
+
IsDBNull(Expression: JsValue): boolean;
|
|
680
|
+
IsError(Expression: JsValue): boolean;
|
|
681
|
+
IsNothing(Expression: JsValue): boolean;
|
|
682
|
+
IsNumeric(Expression: JsValue): boolean;
|
|
683
|
+
IsReference(Expression: JsValue): boolean;
|
|
686
684
|
LBound(Array: ClrArray, Rank?: int): int;
|
|
687
685
|
QBColor(Color: int): int;
|
|
688
686
|
RGB(Red: int, Green: int, Blue: int): int;
|
|
689
687
|
SystemTypeName(VbName: string): string;
|
|
690
|
-
TypeName(VarName:
|
|
688
|
+
TypeName(VarName: JsValue): string;
|
|
691
689
|
UBound(Array: ClrArray, Rank?: int): int;
|
|
692
|
-
VarType(VarName:
|
|
690
|
+
VarType(VarName: JsValue): VariantType;
|
|
693
691
|
VbTypeName(UrtName: string): string;
|
|
694
692
|
};
|
|
695
693
|
|
|
@@ -706,23 +704,23 @@ export const Interaction: {
|
|
|
706
704
|
AppActivate(ProcessId: int): void;
|
|
707
705
|
AppActivate(Title: string): void;
|
|
708
706
|
Beep(): void;
|
|
709
|
-
CallByName(ObjectRef:
|
|
710
|
-
Choose(Index: double, ...Choice:
|
|
707
|
+
CallByName(ObjectRef: JsValue, ProcName: string, UseCallType: CallType, ...Args: JsValue[]): JsValue;
|
|
708
|
+
Choose(Index: double, ...Choice: JsValue[]): JsValue;
|
|
711
709
|
Command(): string;
|
|
712
|
-
CreateObject(ProgId: string, ServerName?: string):
|
|
710
|
+
CreateObject(ProgId: string, ServerName?: string): JsValue;
|
|
713
711
|
DeleteSetting(AppName: string, Section?: string, Key?: string): void;
|
|
714
712
|
Environ(Expression: int): string;
|
|
715
713
|
Environ(Expression: string): string;
|
|
716
714
|
GetAllSettings(AppName: string, Section: string): Array<Array<string>>;
|
|
717
|
-
GetObject(PathName?: string, Class?: string):
|
|
715
|
+
GetObject(PathName?: string, Class?: string): JsValue;
|
|
718
716
|
GetSetting(AppName: string, Section: string, Key: string, Default?: string): string;
|
|
719
|
-
IIf(Expression: boolean, TruePart:
|
|
717
|
+
IIf(Expression: boolean, TruePart: JsValue, FalsePart: JsValue): JsValue;
|
|
720
718
|
InputBox(Prompt: string, Title?: string, DefaultResponse?: string, XPos?: int, YPos?: int): string;
|
|
721
|
-
MsgBox(Prompt:
|
|
719
|
+
MsgBox(Prompt: JsValue, Buttons?: MsgBoxStyle, Title?: JsValue): MsgBoxResult;
|
|
722
720
|
Partition(Number: long, Start: long, Stop: long, Interval: long): string;
|
|
723
721
|
SaveSetting(AppName: string, Section: string, Key: string, Setting: string): void;
|
|
724
722
|
Shell(PathName: string, Style?: AppWinStyle, Wait?: boolean, Timeout?: int): int;
|
|
725
|
-
Switch(...VarExpr:
|
|
723
|
+
Switch(...VarExpr: JsValue[]): JsValue;
|
|
726
724
|
};
|
|
727
725
|
|
|
728
726
|
|
|
@@ -758,18 +756,18 @@ export const Strings: {
|
|
|
758
756
|
AscW(String: string): int;
|
|
759
757
|
Chr(CharCode: int): char;
|
|
760
758
|
ChrW(CharCode: int): char;
|
|
761
|
-
Filter(Source:
|
|
759
|
+
Filter(Source: JsValue[], Match: string, Include?: boolean, Compare?: CompareMethod): string[];
|
|
762
760
|
Filter(Source: string[], Match: string, Include?: boolean, Compare?: CompareMethod): string[];
|
|
763
|
-
Format(Expression:
|
|
764
|
-
FormatCurrency(Expression:
|
|
761
|
+
Format(Expression: JsValue, Style?: string): string;
|
|
762
|
+
FormatCurrency(Expression: JsValue, NumDigitsAfterDecimal?: int, IncludeLeadingDigit?: TriState, UseParensForNegativeNumbers?: TriState, GroupDigits?: TriState): string;
|
|
765
763
|
FormatDateTime(Expression: DateTime, NamedFormat?: DateFormat): string;
|
|
766
|
-
FormatNumber(Expression:
|
|
767
|
-
FormatPercent(Expression:
|
|
764
|
+
FormatNumber(Expression: JsValue, NumDigitsAfterDecimal?: int, IncludeLeadingDigit?: TriState, UseParensForNegativeNumbers?: TriState, GroupDigits?: TriState): string;
|
|
765
|
+
FormatPercent(Expression: JsValue, NumDigitsAfterDecimal?: int, IncludeLeadingDigit?: TriState, UseParensForNegativeNumbers?: TriState, GroupDigits?: TriState): string;
|
|
768
766
|
GetChar(str: string, Index: int): char;
|
|
769
767
|
InStr(Start: int, String1: string, String2: string, Compare?: CompareMethod): int;
|
|
770
768
|
InStr(String1: string, String2: string, Compare?: CompareMethod): int;
|
|
771
769
|
InStrRev(StringCheck: string, StringMatch: string, Start?: int, Compare?: CompareMethod): int;
|
|
772
|
-
Join(SourceArray:
|
|
770
|
+
Join(SourceArray: JsValue[], Delimiter?: string): string;
|
|
773
771
|
Join(SourceArray: string[], Delimiter?: string): string;
|
|
774
772
|
LCase(Value: char): char;
|
|
775
773
|
LCase(Value: string): string;
|
|
@@ -783,7 +781,7 @@ export const Strings: {
|
|
|
783
781
|
Len(Expression: short): int;
|
|
784
782
|
Len(Expression: int): int;
|
|
785
783
|
Len(Expression: long): int;
|
|
786
|
-
Len(Expression:
|
|
784
|
+
Len(Expression: JsValue): int;
|
|
787
785
|
Len(Expression: sbyte): int;
|
|
788
786
|
Len(Expression: float): int;
|
|
789
787
|
Len(Expression: string): int;
|
|
@@ -803,7 +801,7 @@ export const Strings: {
|
|
|
803
801
|
StrComp(String1: string, String2: string, Compare?: CompareMethod): int;
|
|
804
802
|
StrConv(str: string, Conversion: VbStrConv, LocaleID?: int): string;
|
|
805
803
|
StrDup(Number: int, Character: char): string;
|
|
806
|
-
StrDup(Number: int, Character:
|
|
804
|
+
StrDup(Number: int, Character: JsValue): JsValue;
|
|
807
805
|
StrDup(Number: int, Character: string): string;
|
|
808
806
|
StrReverse(Expression: string): string;
|
|
809
807
|
Trim(str: string): string;
|