@fable-org/fable-library-js 2.0.0-beta.4 → 2.0.0-beta.5
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/Array.js +56 -52
- package/Async.js +8 -7
- package/AsyncBuilder.js +6 -6
- package/BigInt.js +3 -3
- package/Boolean.js +2 -1
- package/CHANGELOG.md +8 -0
- package/Char.js +64 -31
- package/CollectionUtil.js +3 -3
- package/Date.js +50 -46
- package/DateOffset.js +38 -48
- package/DateOnly.js +6 -6
- package/Decimal.js +4 -4
- package/Double.js +2 -1
- package/FSharp.Collections.js +28 -10
- package/FSharp.Core.js +23 -23
- package/Global.js +21 -0
- package/Guid.js +5 -4
- package/Int32.js +17 -17
- package/List.js +36 -35
- package/Long.js +3 -2
- package/MailboxProcessor.js +2 -1
- package/Map.js +29 -27
- package/MapUtil.js +4 -4
- package/MutableMap.js +22 -10
- package/MutableSet.js +3 -3
- package/Option.js +3 -3
- package/Random.js +12 -11
- package/Range.js +2 -2
- package/Reflection.js +16 -16
- package/RegExp.js +4 -3
- package/Seq.js +31 -29
- package/Set.js +34 -33
- package/String.js +44 -35
- package/System.Collections.Generic.js +20 -4
- package/System.Text.js +3 -3
- package/System.js +283 -0
- package/TimeOnly.js +6 -6
- package/TimeSpan.js +5 -5
- package/Types.js +1 -17
- package/Uri.js +25 -19
- package/Util.js +31 -17
- package/package.json +1 -1
- package/Array.d.ts +0 -123
- package/Async.d.ts +0 -26
- package/AsyncBuilder.d.ts +0 -59
- package/BigInt.d.ts +0 -129
- package/BitConverter.d.ts +0 -27
- package/Boolean.d.ts +0 -3
- package/Char.d.ts +0 -65
- package/Choice.d.ts +0 -121
- package/CollectionUtil.d.ts +0 -7
- package/ConditionalWeakTable.d.ts +0 -9
- package/Date.d.ts +0 -69
- package/DateOffset.d.ts +0 -64
- package/DateOnly.d.ts +0 -18
- package/Decimal.d.ts +0 -63
- package/Double.d.ts +0 -11
- package/Encoding.d.ts +0 -12
- package/Event.d.ts +0 -31
- package/FSharp.Collections.d.ts +0 -7
- package/FSharp.Core.CompilerServices.d.ts +0 -12
- package/FSharp.Core.d.ts +0 -30
- package/Global.d.ts +0 -24
- package/Guid.d.ts +0 -10
- package/Int32.d.ts +0 -28
- package/List.d.ts +0 -143
- package/Long.d.ts +0 -3
- package/MailboxProcessor.d.ts +0 -25
- package/Map.d.ts +0 -178
- package/MapUtil.d.ts +0 -12
- package/MutableMap.d.ts +0 -52
- package/MutableSet.d.ts +0 -39
- package/Native.d.ts +0 -3
- package/Numeric.d.ts +0 -20
- package/Observable.d.ts +0 -32
- package/Option.d.ts +0 -29
- package/Random.d.ts +0 -37
- package/Range.d.ts +0 -12
- package/Reflection.d.ts +0 -119
- package/RegExp.d.ts +0 -10
- package/Result.d.ts +0 -37
- package/Seq.d.ts +0 -164
- package/Seq2.d.ts +0 -18
- package/Set.d.ts +0 -190
- package/String.d.ts +0 -58
- package/System.Collections.Generic.d.ts +0 -79
- package/System.Text.d.ts +0 -40
- package/SystemException.d.ts +0 -5
- package/SystemException.js +0 -5
- package/TimeOnly.d.ts +0 -15
- package/TimeSpan.d.ts +0 -35
- package/Timer.d.ts +0 -19
- package/Types.d.ts +0 -58
- package/Unicode.13.0.0.d.ts +0 -2
- package/Uri.d.ts +0 -31
- package/Util.d.ts +0 -212
- package/lib/big.d.ts +0 -5
package/BitConverter.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { uint8, int16, uint16, int32, uint32, float32, float64 } from "./Int32.js";
|
|
2
|
-
import { int64, uint64 } from "./BigInt.js";
|
|
3
|
-
import { char } from "./Char.js";
|
|
4
|
-
export declare function isLittleEndian(): boolean;
|
|
5
|
-
export declare function getBytesBoolean(value: boolean): Uint8Array<ArrayBuffer>;
|
|
6
|
-
export declare function getBytesChar(value: char): Uint8Array<ArrayBuffer>;
|
|
7
|
-
export declare function getBytesInt16(value: int16): Uint8Array<ArrayBuffer>;
|
|
8
|
-
export declare function getBytesInt32(value: int32): Uint8Array<ArrayBuffer>;
|
|
9
|
-
export declare function getBytesInt64(value: int64): Uint8Array<ArrayBuffer>;
|
|
10
|
-
export declare function getBytesUInt16(value: uint16): Uint8Array<ArrayBuffer>;
|
|
11
|
-
export declare function getBytesUInt32(value: uint32): Uint8Array<ArrayBuffer>;
|
|
12
|
-
export declare function getBytesUInt64(value: uint64): Uint8Array<ArrayBuffer>;
|
|
13
|
-
export declare function getBytesSingle(value: float32): Uint8Array<ArrayBuffer>;
|
|
14
|
-
export declare function getBytesDouble(value: float64): Uint8Array<ArrayBuffer>;
|
|
15
|
-
export declare function int64BitsToDouble(value: int64): float64;
|
|
16
|
-
export declare function doubleToInt64Bits(value: float64): int64;
|
|
17
|
-
export declare function toBoolean(bytes: ArrayLike<uint8>, offset: int32): boolean;
|
|
18
|
-
export declare function toChar(bytes: ArrayLike<uint8>, offset: int32): char;
|
|
19
|
-
export declare function toInt16(bytes: ArrayLike<uint8>, offset: int32): int16;
|
|
20
|
-
export declare function toInt32(bytes: ArrayLike<uint8>, offset: int32): int32;
|
|
21
|
-
export declare function toInt64(bytes: ArrayLike<uint8>, offset: int32): int64;
|
|
22
|
-
export declare function toUInt16(bytes: ArrayLike<uint8>, offset: int32): uint16;
|
|
23
|
-
export declare function toUInt32(bytes: ArrayLike<uint8>, offset: int32): uint32;
|
|
24
|
-
export declare function toUInt64(bytes: ArrayLike<uint8>, offset: int32): uint64;
|
|
25
|
-
export declare function toSingle(bytes: ArrayLike<uint8>, offset: int32): float32;
|
|
26
|
-
export declare function toDouble(bytes: ArrayLike<uint8>, offset: int32): float64;
|
|
27
|
-
export declare function toString(bytes: ArrayLike<uint8>, offset?: int32, count?: int32): string;
|
package/Boolean.d.ts
DELETED
package/Char.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export type char = string;
|
|
2
|
-
export declare const enum UnicodeCategory {
|
|
3
|
-
UppercaseLetter = 0,
|
|
4
|
-
LowercaseLetter = 1,
|
|
5
|
-
TitlecaseLetter = 2,
|
|
6
|
-
ModifierLetter = 3,
|
|
7
|
-
OtherLetter = 4,
|
|
8
|
-
NonSpacingMark = 5,
|
|
9
|
-
SpacingCombiningMark = 6,
|
|
10
|
-
EnclosingMark = 7,
|
|
11
|
-
DecimalDigitNumber = 8,
|
|
12
|
-
LetterNumber = 9,
|
|
13
|
-
OtherNumber = 10,
|
|
14
|
-
SpaceSeparator = 11,
|
|
15
|
-
LineSeparator = 12,
|
|
16
|
-
ParagraphSeparator = 13,
|
|
17
|
-
Control = 14,
|
|
18
|
-
Format = 15,
|
|
19
|
-
Surrogate = 16,
|
|
20
|
-
PrivateUse = 17,
|
|
21
|
-
ConnectorPunctuation = 18,
|
|
22
|
-
DashPunctuation = 19,
|
|
23
|
-
OpenPunctuation = 20,
|
|
24
|
-
ClosePunctuation = 21,
|
|
25
|
-
InitialQuotePunctuation = 22,
|
|
26
|
-
FinalQuotePunctuation = 23,
|
|
27
|
-
OtherPunctuation = 24,
|
|
28
|
-
MathSymbol = 25,
|
|
29
|
-
CurrencySymbol = 26,
|
|
30
|
-
ModifierSymbol = 27,
|
|
31
|
-
OtherSymbol = 28,
|
|
32
|
-
OtherNotAssigned = 29
|
|
33
|
-
}
|
|
34
|
-
export declare const getUnicodeCategory: (s: string) => number;
|
|
35
|
-
export declare const isControl: (s: string) => boolean;
|
|
36
|
-
export declare const isDigit: (s: string) => boolean;
|
|
37
|
-
export declare const isLetter: (s: string) => boolean;
|
|
38
|
-
export declare const isLetterOrDigit: (s: string) => boolean;
|
|
39
|
-
export declare const isUpper: (s: string) => boolean;
|
|
40
|
-
export declare const isLower: (s: string) => boolean;
|
|
41
|
-
export declare const isNumber: (s: string) => boolean;
|
|
42
|
-
export declare const isPunctuation: (s: string) => boolean;
|
|
43
|
-
export declare const isSeparator: (s: string) => boolean;
|
|
44
|
-
export declare const isSymbol: (s: string) => boolean;
|
|
45
|
-
export declare const isWhiteSpace: (s: string) => boolean;
|
|
46
|
-
export declare const isHighSurrogate: (s: string) => boolean;
|
|
47
|
-
export declare const isLowSurrogate: (s: string) => boolean;
|
|
48
|
-
export declare const isSurrogate: (s: string) => boolean;
|
|
49
|
-
export declare function getUnicodeCategory2(s: string, index: number): number;
|
|
50
|
-
export declare function isControl2(s: string, index: number): boolean;
|
|
51
|
-
export declare function isDigit2(s: string, index: number): boolean;
|
|
52
|
-
export declare function isLetter2(s: string, index: number): boolean;
|
|
53
|
-
export declare function isLetterOrDigit2(s: string, index: number): boolean;
|
|
54
|
-
export declare function isUpper2(s: string, index: number): boolean;
|
|
55
|
-
export declare function isLower2(s: string, index: number): boolean;
|
|
56
|
-
export declare function isNumber2(s: string, index: number): boolean;
|
|
57
|
-
export declare function isPunctuation2(s: string, index: number): boolean;
|
|
58
|
-
export declare function isSeparator2(s: string, index: number): boolean;
|
|
59
|
-
export declare function isSymbol2(s: string, index: number): boolean;
|
|
60
|
-
export declare function isWhiteSpace2(s: string, index: number): boolean;
|
|
61
|
-
export declare function isHighSurrogate2(s: string, index: number): boolean;
|
|
62
|
-
export declare function isLowSurrogate2(s: string, index: number): boolean;
|
|
63
|
-
export declare function isSurrogate2(s: string, index: number): boolean;
|
|
64
|
-
export declare function isSurrogatePair(s: string, index: string | number): boolean;
|
|
65
|
-
export declare function parse(input: string): string;
|
package/Choice.d.ts
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { Union } from "./Types.js";
|
|
2
|
-
import { TypeInfo } from "./Reflection.js";
|
|
3
|
-
import { Option } from "./Option.js";
|
|
4
|
-
export type FSharpChoice$2_$union<T1, T2> = FSharpChoice$2<T1, T2, 0> | FSharpChoice$2<T1, T2, 1>;
|
|
5
|
-
export type FSharpChoice$2_$cases<T1, T2> = {
|
|
6
|
-
0: ["Choice1Of2", [T1]];
|
|
7
|
-
1: ["Choice2Of2", [T2]];
|
|
8
|
-
};
|
|
9
|
-
export declare function FSharpChoice$2_Choice1Of2<T1, T2>(Item: T1): FSharpChoice$2<T1, T2, 0>;
|
|
10
|
-
export declare function FSharpChoice$2_Choice2Of2<T1, T2>(Item: T2): FSharpChoice$2<T1, T2, 1>;
|
|
11
|
-
export declare class FSharpChoice$2<T1, T2, Tag extends keyof FSharpChoice$2_$cases<T1, T2>> extends Union<Tag, FSharpChoice$2_$cases<T1, T2>[Tag][0]> {
|
|
12
|
-
readonly tag: Tag;
|
|
13
|
-
readonly fields: FSharpChoice$2_$cases<T1, T2>[Tag][1];
|
|
14
|
-
constructor(tag: Tag, fields: FSharpChoice$2_$cases<T1, T2>[Tag][1]);
|
|
15
|
-
cases(): string[];
|
|
16
|
-
}
|
|
17
|
-
export declare function FSharpChoice$2_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
18
|
-
export type FSharpChoice$3_$union<T1, T2, T3> = FSharpChoice$3<T1, T2, T3, 0> | FSharpChoice$3<T1, T2, T3, 1> | FSharpChoice$3<T1, T2, T3, 2>;
|
|
19
|
-
export type FSharpChoice$3_$cases<T1, T2, T3> = {
|
|
20
|
-
0: ["Choice1Of3", [T1]];
|
|
21
|
-
1: ["Choice2Of3", [T2]];
|
|
22
|
-
2: ["Choice3Of3", [T3]];
|
|
23
|
-
};
|
|
24
|
-
export declare function FSharpChoice$3_Choice1Of3<T1, T2, T3>(Item: T1): FSharpChoice$3<T1, T2, T3, 0>;
|
|
25
|
-
export declare function FSharpChoice$3_Choice2Of3<T1, T2, T3>(Item: T2): FSharpChoice$3<T1, T2, T3, 1>;
|
|
26
|
-
export declare function FSharpChoice$3_Choice3Of3<T1, T2, T3>(Item: T3): FSharpChoice$3<T1, T2, T3, 2>;
|
|
27
|
-
export declare class FSharpChoice$3<T1, T2, T3, Tag extends keyof FSharpChoice$3_$cases<T1, T2, T3>> extends Union<Tag, FSharpChoice$3_$cases<T1, T2, T3>[Tag][0]> {
|
|
28
|
-
readonly tag: Tag;
|
|
29
|
-
readonly fields: FSharpChoice$3_$cases<T1, T2, T3>[Tag][1];
|
|
30
|
-
constructor(tag: Tag, fields: FSharpChoice$3_$cases<T1, T2, T3>[Tag][1]);
|
|
31
|
-
cases(): string[];
|
|
32
|
-
}
|
|
33
|
-
export declare function FSharpChoice$3_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo): TypeInfo;
|
|
34
|
-
export type FSharpChoice$4_$union<T1, T2, T3, T4> = FSharpChoice$4<T1, T2, T3, T4, 0> | FSharpChoice$4<T1, T2, T3, T4, 1> | FSharpChoice$4<T1, T2, T3, T4, 2> | FSharpChoice$4<T1, T2, T3, T4, 3>;
|
|
35
|
-
export type FSharpChoice$4_$cases<T1, T2, T3, T4> = {
|
|
36
|
-
0: ["Choice1Of4", [T1]];
|
|
37
|
-
1: ["Choice2Of4", [T2]];
|
|
38
|
-
2: ["Choice3Of4", [T3]];
|
|
39
|
-
3: ["Choice4Of4", [T4]];
|
|
40
|
-
};
|
|
41
|
-
export declare function FSharpChoice$4_Choice1Of4<T1, T2, T3, T4>(Item: T1): FSharpChoice$4<T1, T2, T3, T4, 0>;
|
|
42
|
-
export declare function FSharpChoice$4_Choice2Of4<T1, T2, T3, T4>(Item: T2): FSharpChoice$4<T1, T2, T3, T4, 1>;
|
|
43
|
-
export declare function FSharpChoice$4_Choice3Of4<T1, T2, T3, T4>(Item: T3): FSharpChoice$4<T1, T2, T3, T4, 2>;
|
|
44
|
-
export declare function FSharpChoice$4_Choice4Of4<T1, T2, T3, T4>(Item: T4): FSharpChoice$4<T1, T2, T3, T4, 3>;
|
|
45
|
-
export declare class FSharpChoice$4<T1, T2, T3, T4, Tag extends keyof FSharpChoice$4_$cases<T1, T2, T3, T4>> extends Union<Tag, FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][0]> {
|
|
46
|
-
readonly tag: Tag;
|
|
47
|
-
readonly fields: FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][1];
|
|
48
|
-
constructor(tag: Tag, fields: FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][1]);
|
|
49
|
-
cases(): string[];
|
|
50
|
-
}
|
|
51
|
-
export declare function FSharpChoice$4_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo): TypeInfo;
|
|
52
|
-
export type FSharpChoice$5_$union<T1, T2, T3, T4, T5> = FSharpChoice$5<T1, T2, T3, T4, T5, 0> | FSharpChoice$5<T1, T2, T3, T4, T5, 1> | FSharpChoice$5<T1, T2, T3, T4, T5, 2> | FSharpChoice$5<T1, T2, T3, T4, T5, 3> | FSharpChoice$5<T1, T2, T3, T4, T5, 4>;
|
|
53
|
-
export type FSharpChoice$5_$cases<T1, T2, T3, T4, T5> = {
|
|
54
|
-
0: ["Choice1Of5", [T1]];
|
|
55
|
-
1: ["Choice2Of5", [T2]];
|
|
56
|
-
2: ["Choice3Of5", [T3]];
|
|
57
|
-
3: ["Choice4Of5", [T4]];
|
|
58
|
-
4: ["Choice5Of5", [T5]];
|
|
59
|
-
};
|
|
60
|
-
export declare function FSharpChoice$5_Choice1Of5<T1, T2, T3, T4, T5>(Item: T1): FSharpChoice$5<T1, T2, T3, T4, T5, 0>;
|
|
61
|
-
export declare function FSharpChoice$5_Choice2Of5<T1, T2, T3, T4, T5>(Item: T2): FSharpChoice$5<T1, T2, T3, T4, T5, 1>;
|
|
62
|
-
export declare function FSharpChoice$5_Choice3Of5<T1, T2, T3, T4, T5>(Item: T3): FSharpChoice$5<T1, T2, T3, T4, T5, 2>;
|
|
63
|
-
export declare function FSharpChoice$5_Choice4Of5<T1, T2, T3, T4, T5>(Item: T4): FSharpChoice$5<T1, T2, T3, T4, T5, 3>;
|
|
64
|
-
export declare function FSharpChoice$5_Choice5Of5<T1, T2, T3, T4, T5>(Item: T5): FSharpChoice$5<T1, T2, T3, T4, T5, 4>;
|
|
65
|
-
export declare class FSharpChoice$5<T1, T2, T3, T4, T5, Tag extends keyof FSharpChoice$5_$cases<T1, T2, T3, T4, T5>> extends Union<Tag, FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][0]> {
|
|
66
|
-
readonly tag: Tag;
|
|
67
|
-
readonly fields: FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][1];
|
|
68
|
-
constructor(tag: Tag, fields: FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][1]);
|
|
69
|
-
cases(): string[];
|
|
70
|
-
}
|
|
71
|
-
export declare function FSharpChoice$5_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo): TypeInfo;
|
|
72
|
-
export type FSharpChoice$6_$union<T1, T2, T3, T4, T5, T6> = FSharpChoice$6<T1, T2, T3, T4, T5, T6, 0> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 1> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 2> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 3> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 4> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 5>;
|
|
73
|
-
export type FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6> = {
|
|
74
|
-
0: ["Choice1Of6", [T1]];
|
|
75
|
-
1: ["Choice2Of6", [T2]];
|
|
76
|
-
2: ["Choice3Of6", [T3]];
|
|
77
|
-
3: ["Choice4Of6", [T4]];
|
|
78
|
-
4: ["Choice5Of6", [T5]];
|
|
79
|
-
5: ["Choice6Of6", [T6]];
|
|
80
|
-
};
|
|
81
|
-
export declare function FSharpChoice$6_Choice1Of6<T1, T2, T3, T4, T5, T6>(Item: T1): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 0>;
|
|
82
|
-
export declare function FSharpChoice$6_Choice2Of6<T1, T2, T3, T4, T5, T6>(Item: T2): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 1>;
|
|
83
|
-
export declare function FSharpChoice$6_Choice3Of6<T1, T2, T3, T4, T5, T6>(Item: T3): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 2>;
|
|
84
|
-
export declare function FSharpChoice$6_Choice4Of6<T1, T2, T3, T4, T5, T6>(Item: T4): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 3>;
|
|
85
|
-
export declare function FSharpChoice$6_Choice5Of6<T1, T2, T3, T4, T5, T6>(Item: T5): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 4>;
|
|
86
|
-
export declare function FSharpChoice$6_Choice6Of6<T1, T2, T3, T4, T5, T6>(Item: T6): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 5>;
|
|
87
|
-
export declare class FSharpChoice$6<T1, T2, T3, T4, T5, T6, Tag extends keyof FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>> extends Union<Tag, FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][0]> {
|
|
88
|
-
readonly tag: Tag;
|
|
89
|
-
readonly fields: FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][1];
|
|
90
|
-
constructor(tag: Tag, fields: FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][1]);
|
|
91
|
-
cases(): string[];
|
|
92
|
-
}
|
|
93
|
-
export declare function FSharpChoice$6_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo, gen5: TypeInfo): TypeInfo;
|
|
94
|
-
export type FSharpChoice$7_$union<T1, T2, T3, T4, T5, T6, T7> = FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 0> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 1> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 2> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 3> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 4> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 5> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 6>;
|
|
95
|
-
export type FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7> = {
|
|
96
|
-
0: ["Choice1Of7", [T1]];
|
|
97
|
-
1: ["Choice2Of7", [T2]];
|
|
98
|
-
2: ["Choice3Of7", [T3]];
|
|
99
|
-
3: ["Choice4Of7", [T4]];
|
|
100
|
-
4: ["Choice5Of7", [T5]];
|
|
101
|
-
5: ["Choice6Of7", [T6]];
|
|
102
|
-
6: ["Choice7Of7", [T7]];
|
|
103
|
-
};
|
|
104
|
-
export declare function FSharpChoice$7_Choice1Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T1): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 0>;
|
|
105
|
-
export declare function FSharpChoice$7_Choice2Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T2): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 1>;
|
|
106
|
-
export declare function FSharpChoice$7_Choice3Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T3): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 2>;
|
|
107
|
-
export declare function FSharpChoice$7_Choice4Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T4): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 3>;
|
|
108
|
-
export declare function FSharpChoice$7_Choice5Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T5): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 4>;
|
|
109
|
-
export declare function FSharpChoice$7_Choice6Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T6): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 5>;
|
|
110
|
-
export declare function FSharpChoice$7_Choice7Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T7): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 6>;
|
|
111
|
-
export declare class FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, Tag extends keyof FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>> extends Union<Tag, FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][0]> {
|
|
112
|
-
readonly tag: Tag;
|
|
113
|
-
readonly fields: FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][1];
|
|
114
|
-
constructor(tag: Tag, fields: FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][1]);
|
|
115
|
-
cases(): string[];
|
|
116
|
-
}
|
|
117
|
-
export declare function FSharpChoice$7_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo, gen5: TypeInfo, gen6: TypeInfo): TypeInfo;
|
|
118
|
-
export declare function Choice_makeChoice1Of2<T1, a>(x: T1): FSharpChoice$2_$union<T1, a>;
|
|
119
|
-
export declare function Choice_makeChoice2Of2<T2, a>(x: T2): FSharpChoice$2_$union<a, T2>;
|
|
120
|
-
export declare function Choice_tryValueIfChoice1Of2<T1, T2>(x: FSharpChoice$2_$union<T1, T2>): Option<T1>;
|
|
121
|
-
export declare function Choice_tryValueIfChoice2Of2<T1, T2>(x: FSharpChoice$2_$union<T1, T2>): Option<T2>;
|
package/CollectionUtil.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function count<T>(col: Iterable<T>): number;
|
|
2
|
-
export declare function isReadOnly<T>(col: Iterable<T>): boolean;
|
|
3
|
-
export declare function copyTo<T>(col: Iterable<T>, array: T[], arrayIndex: number): void;
|
|
4
|
-
export declare function contains<T>(col: Iterable<T>, item: T): boolean;
|
|
5
|
-
export declare function add<T>(col: Iterable<T>, item: T): void;
|
|
6
|
-
export declare function remove<T>(col: Iterable<T>, item: T): boolean;
|
|
7
|
-
export declare function clear<T>(col: Iterable<T>): void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class ConditionalWeakTable<TKey extends object, TValue> {
|
|
2
|
-
private weakMap;
|
|
3
|
-
delete(key: TKey): boolean;
|
|
4
|
-
get(key: TKey): TValue | undefined;
|
|
5
|
-
has(key: TKey): boolean;
|
|
6
|
-
set(key: TKey, value: TValue): WeakMap<TKey, TValue>;
|
|
7
|
-
clear(): void;
|
|
8
|
-
}
|
|
9
|
-
export default ConditionalWeakTable;
|
package/Date.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DateTimeOffset functions.
|
|
3
|
-
*
|
|
4
|
-
* Note: Date instances are always DateObjects in local
|
|
5
|
-
* timezone (because JS dates are all kinds of messed up).
|
|
6
|
-
* A local date returns UTC epoch when `.getTime()` is called.
|
|
7
|
-
*
|
|
8
|
-
* Basically; invariant: date.getTime() always return UTC time.
|
|
9
|
-
*/
|
|
10
|
-
import { int64 } from "./BigInt.js";
|
|
11
|
-
import { FSharpRef } from "./Types.js";
|
|
12
|
-
import { compareDates, DateKind, IDateTime, IDateTimeOffset } from "./Util.js";
|
|
13
|
-
export type OffsetInMinutes = number;
|
|
14
|
-
export type Offset = "Z" | OffsetInMinutes | null;
|
|
15
|
-
export declare function kind(value: IDateTime): number;
|
|
16
|
-
export declare function unixEpochMillisecondsToTicks(ms: number, offset: number): int64;
|
|
17
|
-
export declare function ticksToUnixEpochMilliseconds(ticks: number | bigint): number;
|
|
18
|
-
export declare function dateOffsetToString(offset: number): string;
|
|
19
|
-
export declare function toString(date: IDateTime | IDateTimeOffset, format?: string, _provider?: any): string;
|
|
20
|
-
export declare function DateTime(value: number, kind?: DateKind): IDateTime;
|
|
21
|
-
export declare function fromTicks(ticks: number | bigint, kind?: DateKind): IDateTime;
|
|
22
|
-
export declare function fromDateTimeOffset(date: IDateTimeOffset, kind: DateKind): IDateTime;
|
|
23
|
-
export declare function getTicks(date: IDateTime | IDateTimeOffset): bigint;
|
|
24
|
-
export declare function minValue(): IDateTime;
|
|
25
|
-
export declare function maxValue(): IDateTime;
|
|
26
|
-
export declare function parseRaw(input: string): [Date, Offset];
|
|
27
|
-
export declare function parse(str: string, detectUTC?: boolean): IDateTime;
|
|
28
|
-
export declare function tryParse(v: string, defValue: FSharpRef<IDateTime>): boolean;
|
|
29
|
-
export declare function create(year: number, month: number, day: number, h?: number, m?: number, s?: number, ms?: number, kind?: DateKind): IDateTime;
|
|
30
|
-
export declare function now(): IDateTime;
|
|
31
|
-
export declare function utcNow(): IDateTime;
|
|
32
|
-
export declare function today(): IDateTime;
|
|
33
|
-
export declare function isLeapYear(year: number): boolean;
|
|
34
|
-
export declare function daysInMonth(year: number, month: number): 29 | 28 | 31 | 30;
|
|
35
|
-
export declare function toUniversalTime(date: IDateTime): IDateTime;
|
|
36
|
-
export declare function toLocalTime(date: IDateTime): IDateTime;
|
|
37
|
-
export declare function specifyKind(d: IDateTime, kind: DateKind): IDateTime;
|
|
38
|
-
export declare function timeOfDay(d: IDateTime): number;
|
|
39
|
-
export declare function date(d: IDateTime): IDateTime;
|
|
40
|
-
export declare function day(d: IDateTime): number;
|
|
41
|
-
export declare function hour(d: IDateTime): number;
|
|
42
|
-
export declare function millisecond(d: IDateTime): number;
|
|
43
|
-
export declare function minute(d: IDateTime): number;
|
|
44
|
-
export declare function month(d: IDateTime): number;
|
|
45
|
-
export declare function second(d: IDateTime): number;
|
|
46
|
-
export declare function year(d: IDateTime): number;
|
|
47
|
-
export declare function dayOfWeek(d: IDateTime): number;
|
|
48
|
-
export declare function dayOfYear(d: IDateTime): number;
|
|
49
|
-
export declare function add(d: IDateTime, ts: number): IDateTime;
|
|
50
|
-
export declare function addDays(d: IDateTime, v: number): IDateTime;
|
|
51
|
-
export declare function addHours(d: IDateTime, v: number): IDateTime;
|
|
52
|
-
export declare function addMinutes(d: IDateTime, v: number): IDateTime;
|
|
53
|
-
export declare function addSeconds(d: IDateTime, v: number): IDateTime;
|
|
54
|
-
export declare function addMilliseconds(d: IDateTime, v: number): IDateTime;
|
|
55
|
-
export declare function addTicks(d: IDateTime, v: int64): IDateTime;
|
|
56
|
-
export declare function addYears(d: IDateTime, v: number): IDateTime;
|
|
57
|
-
export declare function addMonths(d: IDateTime, v: number): IDateTime;
|
|
58
|
-
export declare function subtract<Input extends number | IDateTime, Output = Input extends number ? IDateTime : number>(d: IDateTime, that: Input): Output;
|
|
59
|
-
export declare function toLongDateString(d: IDateTime): string;
|
|
60
|
-
export declare function toShortDateString(d: IDateTime): string;
|
|
61
|
-
export declare function toLongTimeString(d: IDateTime): string;
|
|
62
|
-
export declare function toShortTimeString(d: IDateTime): string;
|
|
63
|
-
export declare function equals(d1: IDateTime, d2: IDateTime): boolean;
|
|
64
|
-
export declare const compare: typeof compareDates;
|
|
65
|
-
export declare const compareTo: typeof compareDates;
|
|
66
|
-
export declare function op_Addition(x: IDateTime, y: number): IDateTime;
|
|
67
|
-
export declare function op_Subtraction<Input extends number | IDateTime, Output = Input extends number ? IDateTime : number>(x: IDateTime, y: Input): Output;
|
|
68
|
-
export declare function isDaylightSavingTime(x: IDateTime): boolean;
|
|
69
|
-
export default DateTime;
|
package/DateOffset.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DateTimeOffset functions.
|
|
3
|
-
*
|
|
4
|
-
* Note: DateOffset instances are always DateObjects in local
|
|
5
|
-
* timezone (because JS dates are all kinds of messed up).
|
|
6
|
-
* A local date returns UTC epoch when `.getTime()` is called.
|
|
7
|
-
*
|
|
8
|
-
* However, this means that in order to construct an UTC date
|
|
9
|
-
* from a DateOffset with offset of +5 hours, you first need
|
|
10
|
-
* to subtract those 5 hours, than add the "local" offset.
|
|
11
|
-
* As said, all kinds of messed up.
|
|
12
|
-
*
|
|
13
|
-
* Basically; invariant: date.getTime() always return UTC time.
|
|
14
|
-
*/
|
|
15
|
-
import { int64 } from "./BigInt.js";
|
|
16
|
-
import { FSharpRef } from "./Types.js";
|
|
17
|
-
import { IDateTime, IDateTimeOffset } from "./Util.js";
|
|
18
|
-
export default function DateTimeOffset(value: number, offset?: number): IDateTimeOffset;
|
|
19
|
-
export declare function offset(value: IDateTimeOffset): number;
|
|
20
|
-
export declare function fromDate(date: IDateTime, offset?: number): IDateTimeOffset;
|
|
21
|
-
export declare function fromTicks(ticks: int64, offset: number): IDateTimeOffset;
|
|
22
|
-
export declare function fromUnixTimeMilliseconds(ms: int64): IDateTimeOffset;
|
|
23
|
-
export declare function fromUnixTimeSeconds(seconds: int64): IDateTimeOffset;
|
|
24
|
-
export declare function getUtcTicks(date: IDateTimeOffset): bigint;
|
|
25
|
-
export declare function minValue(): IDateTimeOffset;
|
|
26
|
-
export declare function maxValue(): IDateTimeOffset;
|
|
27
|
-
export declare function parse(str: string): IDateTimeOffset;
|
|
28
|
-
export declare function tryParse(v: string, defValue: FSharpRef<IDateTimeOffset>): boolean;
|
|
29
|
-
export declare function create(year: number, month: number, day: number, h: number, m: number, s: number, ms: number, offset?: number): IDateTimeOffset;
|
|
30
|
-
export declare function now(): IDateTimeOffset;
|
|
31
|
-
export declare function utcNow(): IDateTimeOffset;
|
|
32
|
-
export declare function toUniversalTime(date: IDateTimeOffset): Date;
|
|
33
|
-
export declare function toLocalTime(date: IDateTimeOffset): Date;
|
|
34
|
-
export declare function localDateTime(date: IDateTimeOffset): Date;
|
|
35
|
-
export declare function timeOfDay(d: IDateTimeOffset): number;
|
|
36
|
-
export declare function date(d: IDateTimeOffset): IDateTime;
|
|
37
|
-
export declare function day(d: IDateTimeOffset): number;
|
|
38
|
-
export declare function hour(d: IDateTimeOffset): number;
|
|
39
|
-
export declare function millisecond(d: IDateTimeOffset): number;
|
|
40
|
-
export declare function minute(d: IDateTimeOffset): number;
|
|
41
|
-
export declare function month(d: IDateTimeOffset): number;
|
|
42
|
-
export declare function second(d: IDateTimeOffset): number;
|
|
43
|
-
export declare function year(d: IDateTimeOffset): number;
|
|
44
|
-
export declare function dayOfWeek(d: IDateTimeOffset): number;
|
|
45
|
-
export declare function dayOfYear(d: IDateTimeOffset): number;
|
|
46
|
-
export declare function add(d: IDateTimeOffset, ts: number): IDateTimeOffset;
|
|
47
|
-
export declare function addDays(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
48
|
-
export declare function addHours(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
49
|
-
export declare function addMinutes(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
50
|
-
export declare function addSeconds(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
51
|
-
export declare function addMilliseconds(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
52
|
-
export declare function addTicks(d: IDateTimeOffset, v: int64): IDateTimeOffset;
|
|
53
|
-
export declare function addYears(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
54
|
-
export declare function addMonths(d: IDateTimeOffset, v: number): IDateTimeOffset;
|
|
55
|
-
export declare function subtract<Input extends number | IDateTimeOffset, Output = Input extends number ? IDateTimeOffset : number>(d: IDateTimeOffset, that: Input): Output;
|
|
56
|
-
export declare function equals(d1: IDateTimeOffset, d2: IDateTimeOffset): boolean;
|
|
57
|
-
export declare function equalsExact(d1: IDateTimeOffset, d2: IDateTimeOffset): boolean;
|
|
58
|
-
export declare function compare(d1: IDateTimeOffset, d2: IDateTimeOffset): 0 | 1 | -1;
|
|
59
|
-
export declare const compareTo: typeof compare;
|
|
60
|
-
export declare function op_Addition(x: IDateTimeOffset, y: number): IDateTimeOffset;
|
|
61
|
-
export declare function op_Subtraction<Input extends number | IDateTimeOffset, Output = Input extends number ? IDateTimeOffset : number>(x: IDateTimeOffset, y: Input): Output;
|
|
62
|
-
export declare function toOffset(d: IDateTimeOffset, offset: number): IDateTimeOffset;
|
|
63
|
-
export declare function toUnixTimeMilliseconds(d: IDateTimeOffset): int64;
|
|
64
|
-
export declare function toUnixTimeSeconds(d: IDateTimeOffset): int64;
|
package/DateOnly.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
import { IDateTime, DateKind } from "./Util.js";
|
|
3
|
-
export declare function fromUnixMilliseconds(value: number): IDateTime;
|
|
4
|
-
export declare function create(year: number, month: number, day: number): IDateTime;
|
|
5
|
-
export declare function maxValue(): IDateTime;
|
|
6
|
-
export declare function minValue(): IDateTime;
|
|
7
|
-
export declare function dayNumber(d: IDateTime): number;
|
|
8
|
-
export declare function fromDayNumber(dayNumber: number): IDateTime;
|
|
9
|
-
export declare function fromDateTime(d: IDateTime): IDateTime;
|
|
10
|
-
export declare function day(d: IDateTime): number;
|
|
11
|
-
export declare function month(d: IDateTime): number;
|
|
12
|
-
export declare function year(d: IDateTime): number;
|
|
13
|
-
export declare function dayOfWeek(d: IDateTime): number;
|
|
14
|
-
export declare function dayOfYear(d: IDateTime): number;
|
|
15
|
-
export declare function toDateTime(d: IDateTime, time: number, kind?: DateKind): IDateTime;
|
|
16
|
-
export declare function toString(d: IDateTime, format?: string, _provider?: any): string;
|
|
17
|
-
export declare function parse(str: string): IDateTime;
|
|
18
|
-
export declare function tryParse(v: string, defValue: FSharpRef<IDateTime>): boolean;
|
package/Decimal.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import Decimal from "./lib/big.js";
|
|
2
|
-
import { FSharpRef } from "./Types.js";
|
|
3
|
-
import { int8, uint8, int16, uint16, int32, uint32, float16, float32, float64 } from "./Int32.js";
|
|
4
|
-
import { int64, uint64, int128, uint128, nativeint, unativeint } from "./BigInt.js";
|
|
5
|
-
export default Decimal;
|
|
6
|
-
export type decimal = Decimal;
|
|
7
|
-
export declare const get_Zero: Decimal;
|
|
8
|
-
export declare const get_One: Decimal;
|
|
9
|
-
export declare const get_MinusOne: Decimal;
|
|
10
|
-
export declare const get_MaxValue: Decimal;
|
|
11
|
-
export declare const get_MinValue: Decimal;
|
|
12
|
-
export declare function compare(x: Decimal, y: Decimal): import("./lib/big.js").Comparison;
|
|
13
|
-
export declare function equals(x: Decimal, y: Decimal): boolean;
|
|
14
|
-
export declare function abs(x: Decimal): Decimal;
|
|
15
|
-
export declare function sign(x: Decimal): number;
|
|
16
|
-
export declare function max(x: Decimal, y: Decimal): Decimal;
|
|
17
|
-
export declare function min(x: Decimal, y: Decimal): Decimal;
|
|
18
|
-
export declare function maxMagnitude(x: Decimal, y: Decimal): Decimal;
|
|
19
|
-
export declare function minMagnitude(x: Decimal, y: Decimal): Decimal;
|
|
20
|
-
export declare function clamp(x: Decimal, min: Decimal, max: Decimal): Decimal;
|
|
21
|
-
export declare function round(x: Decimal, digits?: number): Decimal;
|
|
22
|
-
export declare function truncate(x: Decimal): Decimal;
|
|
23
|
-
export declare function ceiling(x: Decimal): Decimal;
|
|
24
|
-
export declare function floor(x: Decimal): Decimal;
|
|
25
|
-
export declare function pow(x: Decimal, n: number): Decimal;
|
|
26
|
-
export declare function sqrt(x: Decimal): Decimal;
|
|
27
|
-
export declare function op_Addition(x: Decimal, y: Decimal): Decimal;
|
|
28
|
-
export declare function op_Subtraction(x: Decimal, y: Decimal): Decimal;
|
|
29
|
-
export declare function op_Multiply(x: Decimal, y: Decimal): Decimal;
|
|
30
|
-
export declare function op_Division(x: Decimal, y: Decimal): Decimal;
|
|
31
|
-
export declare function op_Modulus(x: Decimal, y: Decimal): Decimal;
|
|
32
|
-
export declare function op_UnaryNegation(x: Decimal): Decimal;
|
|
33
|
-
export declare function op_UnaryPlus(x: Decimal): Decimal;
|
|
34
|
-
export declare const add: typeof op_Addition;
|
|
35
|
-
export declare const subtract: typeof op_Subtraction;
|
|
36
|
-
export declare const multiply: typeof op_Multiply;
|
|
37
|
-
export declare const divide: typeof op_Division;
|
|
38
|
-
export declare const remainder: typeof op_Modulus;
|
|
39
|
-
export declare const negate: typeof op_UnaryNegation;
|
|
40
|
-
export declare function toString(x: Decimal): string;
|
|
41
|
-
export declare function tryParse(str: string, defValue: FSharpRef<Decimal>): boolean;
|
|
42
|
-
export declare function parse(str: string): Decimal;
|
|
43
|
-
export declare function toNumber(x: Decimal): number;
|
|
44
|
-
export declare function toChar(x: Decimal): string;
|
|
45
|
-
export declare function toInt8(x: Decimal): int8;
|
|
46
|
-
export declare function toUInt8(x: Decimal): uint8;
|
|
47
|
-
export declare function toInt16(x: Decimal): int16;
|
|
48
|
-
export declare function toUInt16(x: Decimal): uint16;
|
|
49
|
-
export declare function toInt32(x: Decimal): int32;
|
|
50
|
-
export declare function toUInt32(x: Decimal): uint32;
|
|
51
|
-
export declare function toInt64(x: Decimal): int64;
|
|
52
|
-
export declare function toUInt64(x: Decimal): uint64;
|
|
53
|
-
export declare function toInt128(x: Decimal): int128;
|
|
54
|
-
export declare function toUInt128(x: Decimal): uint128;
|
|
55
|
-
export declare function toNativeInt(x: Decimal): nativeint;
|
|
56
|
-
export declare function toUNativeInt(x: Decimal): unativeint;
|
|
57
|
-
export declare function toFloat16(x: Decimal): float16;
|
|
58
|
-
export declare function toFloat32(x: Decimal): float32;
|
|
59
|
-
export declare function toFloat64(x: Decimal): float64;
|
|
60
|
-
export declare function fromIntArray(bits: ArrayLike<number>): Decimal;
|
|
61
|
-
export declare function fromInts(low: number, mid: number, high: number, signExp: number): Decimal;
|
|
62
|
-
export declare function fromParts(low: number, mid: number, high: number, isNegative: boolean, scale: number): Decimal;
|
|
63
|
-
export declare function getBits(d: Decimal): number[];
|
package/Double.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
export declare function tryParse(str: string, defValue: FSharpRef<number>): boolean;
|
|
3
|
-
export declare function parse(str: string): number;
|
|
4
|
-
export declare function isPositiveInfinity(x: number): boolean;
|
|
5
|
-
export declare function isNegativeInfinity(x: number): boolean;
|
|
6
|
-
export declare function isInfinity(x: number): boolean;
|
|
7
|
-
export declare function max(x: number, y: number): number;
|
|
8
|
-
export declare function min(x: number, y: number): number;
|
|
9
|
-
export declare function maxMagnitude(x: number, y: number): number;
|
|
10
|
-
export declare function minMagnitude(x: number, y: number): number;
|
|
11
|
-
export declare function clamp(x: number, min: number, max: number): number;
|
package/Encoding.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { uint8 } from "./Int32.js";
|
|
2
|
-
declare class UTF16LE {
|
|
3
|
-
getBytes(str: string | string[], index?: number, count?: number): Uint8Array<ArrayBuffer>;
|
|
4
|
-
getString(bytes: ArrayLike<uint8>, index?: number, count?: number): string;
|
|
5
|
-
}
|
|
6
|
-
declare class UTF8 {
|
|
7
|
-
getBytes(str: string | string[], index?: number, count?: number): Uint8Array<ArrayBuffer>;
|
|
8
|
-
getString(bytes: ArrayLike<uint8>, index?: number, count?: number): string;
|
|
9
|
-
}
|
|
10
|
-
export declare function get_Unicode(): UTF16LE;
|
|
11
|
-
export declare function get_UTF8(): UTF8;
|
|
12
|
-
export {};
|
package/Event.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IObservable } from "./Observable.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { FSharpChoice$2_$union } from "./Choice.js";
|
|
4
|
-
export type Handler<T> = (sender: any, x: T) => void;
|
|
5
|
-
export interface IDelegateEvent<Delegate extends Function> {
|
|
6
|
-
AddHandler(d: Delegate): void;
|
|
7
|
-
RemoveHandler(d: Delegate): void;
|
|
8
|
-
}
|
|
9
|
-
export interface IEvent$2<Delegate extends Function, Args> extends IDelegateEvent<Delegate>, IObservable<Args> {
|
|
10
|
-
}
|
|
11
|
-
export type IEvent<T> = IEvent$2<Handler<T>, T>;
|
|
12
|
-
export declare class Event$2<Delegate extends Function, Args> {
|
|
13
|
-
private delegates;
|
|
14
|
-
private _add;
|
|
15
|
-
private _remove;
|
|
16
|
-
get Publish(): IEvent$2<Delegate, Args>;
|
|
17
|
-
Trigger(value: Args): void;
|
|
18
|
-
Trigger(sender: any, value: Args): void;
|
|
19
|
-
}
|
|
20
|
-
export declare class Event<T> extends Event$2<Handler<T>, T> {
|
|
21
|
-
}
|
|
22
|
-
export declare function add<Del extends Function, T>(callback: (x: T) => void, sourceEvent: IEvent$2<Del, T>): void;
|
|
23
|
-
export declare function choose<Del extends Function, T, U>(chooser: (x: T) => Option<U>, sourceEvent: IEvent$2<Del, T>): IEvent<U>;
|
|
24
|
-
export declare function filter<Del extends Function, T>(predicate: (x: T) => boolean, sourceEvent: IEvent$2<Del, T>): IEvent<T>;
|
|
25
|
-
export declare function map<Del extends Function, T, U>(mapping: (x: T) => U, sourceEvent: IEvent$2<Del, T>): IEvent<U>;
|
|
26
|
-
export declare function merge<Del1 extends Function, Del2 extends Function, T>(event1: IEvent$2<Del1, T>, event2: IEvent$2<Del2, T>): IEvent<T>;
|
|
27
|
-
export declare function pairwise<Del extends Function, T>(sourceEvent: IEvent$2<Del, T>): IEvent<[T, T]>;
|
|
28
|
-
export declare function partition<Del extends Function, T>(predicate: (x: T) => boolean, sourceEvent: IEvent$2<Del, T>): [IEvent<T>, IEvent<T>];
|
|
29
|
-
export declare function scan<Del extends Function, U, T>(collector: (u: U, t: T) => U, state: U, sourceEvent: IEvent$2<Del, T>): IEvent<U>;
|
|
30
|
-
export declare function split<Del extends Function, T, U1, U2>(splitter: (x: T) => FSharpChoice$2_$union<U1, U2>, sourceEvent: IEvent$2<Del, T>): [IEvent<U1>, IEvent<U2>];
|
|
31
|
-
export declare function createEvent<Del extends Function, T>(addHandler: (h: Del) => void, removeHandler: (h: Del) => void): IEvent$2<Del, T>;
|
package/FSharp.Collections.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IComparer, IEqualityComparer, Nullable } from "./Util.js";
|
|
2
|
-
import { int32 } from "./Int32.js";
|
|
3
|
-
export declare function HashIdentity_FromFunctions<T>(hash: ((arg0: T) => int32), eq: ((arg0: Nullable<T>, arg1: Nullable<T>) => boolean)): IEqualityComparer<T>;
|
|
4
|
-
export declare function HashIdentity_Structural<T>(): IEqualityComparer<T>;
|
|
5
|
-
export declare function HashIdentity_Reference<T>(): IEqualityComparer<T>;
|
|
6
|
-
export declare function ComparisonIdentity_FromFunction<T>(comparer: ((arg0: Nullable<T>, arg1: Nullable<T>) => int32)): IComparer<T>;
|
|
7
|
-
export declare function ComparisonIdentity_Structural<T>(): IComparer<T>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TypeInfo } from "./Reflection.js";
|
|
2
|
-
import { FSharpList } from "./List.js";
|
|
3
|
-
export declare class ListCollector$1<T> {
|
|
4
|
-
readonly collector: T[];
|
|
5
|
-
constructor();
|
|
6
|
-
}
|
|
7
|
-
export declare function ListCollector$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
8
|
-
export declare function ListCollector$1_$ctor<T>(): ListCollector$1<T>;
|
|
9
|
-
export declare function ListCollector$1__Add_2B595<T>(this$: ListCollector$1<T>, value: T): void;
|
|
10
|
-
export declare function ListCollector$1__AddMany_BB573A<T>(this$: ListCollector$1<T>, values: Iterable<T>): void;
|
|
11
|
-
export declare function ListCollector$1__AddManyAndClose_BB573A<T>(this$: ListCollector$1<T>, values: Iterable<T>): FSharpList<T>;
|
|
12
|
-
export declare function ListCollector$1__Close<T>(this$: ListCollector$1<T>): FSharpList<T>;
|
package/FSharp.Core.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { IDisposable, IEqualityComparer, IComparer, Nullable } from "./Util.js";
|
|
2
|
-
import { Option } from "./Option.js";
|
|
3
|
-
import { FSharpChoice$2_$union } from "./Choice.js";
|
|
4
|
-
export declare const LanguagePrimitives_GenericEqualityComparer: any;
|
|
5
|
-
export declare const LanguagePrimitives_GenericEqualityERComparer: any;
|
|
6
|
-
export declare function LanguagePrimitives_FastGenericComparer<T>(): IComparer<T>;
|
|
7
|
-
export declare function LanguagePrimitives_FastGenericComparerFromTable<T>(): IComparer<T>;
|
|
8
|
-
export declare function LanguagePrimitives_FastGenericEqualityComparer<T>(): IEqualityComparer<T>;
|
|
9
|
-
export declare function LanguagePrimitives_FastGenericEqualityComparerFromTable<T>(): IEqualityComparer<T>;
|
|
10
|
-
export declare function Operators_Failure(message: string): Error;
|
|
11
|
-
export declare function Operators_FailurePattern(exn: Error): Option<string>;
|
|
12
|
-
export declare function Operators_NullArg<$a>(x: string): $a;
|
|
13
|
-
export declare function Operators_Using<T extends IDisposable, R>(resource: T, action: ((arg0: T) => R)): R;
|
|
14
|
-
export declare function Operators_Lock<$a, $b>(_lockObj: $a, action: (() => $b)): $b;
|
|
15
|
-
export declare function Operators_IsNull<T>(value: T): boolean;
|
|
16
|
-
export declare function Operators_IsNotNull<T>(value: T): boolean;
|
|
17
|
-
export declare function Operators_IsNullV<T extends any>(value: Nullable<T>): boolean;
|
|
18
|
-
export declare function Operators_NonNull<T>(value: Nullable<T>): T;
|
|
19
|
-
export declare function Operators_NonNullV<T extends any>(value: Nullable<T>): T;
|
|
20
|
-
export declare function Operators_NullMatchPattern<T>(value: Nullable<T>): FSharpChoice$2_$union<void, T>;
|
|
21
|
-
export declare function Operators_NullValueMatchPattern<T extends any>(value: Nullable<T>): FSharpChoice$2_$union<void, T>;
|
|
22
|
-
export declare function Operators_NonNullQuickPattern<T>(value: Nullable<T>): T;
|
|
23
|
-
export declare function Operators_NonNullQuickValuePattern<T extends any>(value: Nullable<T>): T;
|
|
24
|
-
export declare function Operators_WithNull<T>(value: T): T;
|
|
25
|
-
export declare function Operators_WithNullV<T extends any>(value: T): T;
|
|
26
|
-
export declare function Operators_NullV<T extends any>(): Nullable<T>;
|
|
27
|
-
export declare function Operators_NullArgCheck<T>(argumentName: string, value: Nullable<T>): T;
|
|
28
|
-
export declare function ExtraTopLevelOperators_LazyPattern<$a>(input: any): $a;
|
|
29
|
-
export declare function PrintfModule_PrintFormatToStringBuilderThen<$a, $b>(continuation: (() => $a), builder: any, format: any): $b;
|
|
30
|
-
export declare function PrintfModule_PrintFormatToStringBuilder<$a>(builder: any, format: any): $a;
|
package/Global.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { int32 } from "./Int32.js";
|
|
2
|
-
export interface Fable_Core_IGenericAdder$1<T> {
|
|
3
|
-
Add(arg0: T, arg1: T): T;
|
|
4
|
-
GetZero(): T;
|
|
5
|
-
}
|
|
6
|
-
export interface Fable_Core_IGenericAverager$1<T> {
|
|
7
|
-
Add(arg0: T, arg1: T): T;
|
|
8
|
-
DivideByInt(arg0: T, arg1: int32): T;
|
|
9
|
-
GetZero(): T;
|
|
10
|
-
}
|
|
11
|
-
export interface Fable_Core_Symbol_wellknown {
|
|
12
|
-
[Symbol.toStringTag]: string;
|
|
13
|
-
}
|
|
14
|
-
export interface Fable_Core_IJsonSerializable {
|
|
15
|
-
toJSON(): any;
|
|
16
|
-
}
|
|
17
|
-
export declare const SR_indexOutOfBounds = "The index was outside the range of elements in the collection.";
|
|
18
|
-
export declare const SR_inputWasEmpty = "Collection was empty.";
|
|
19
|
-
export declare const SR_inputMustBeNonNegative = "The input must be non-negative.";
|
|
20
|
-
export declare const SR_inputSequenceEmpty = "The input sequence was empty.";
|
|
21
|
-
export declare const SR_inputSequenceTooLong = "The input sequence contains more than one element.";
|
|
22
|
-
export declare const SR_keyNotFoundAlt = "An index satisfying the predicate was not found in the collection.";
|
|
23
|
-
export declare const SR_differentLengths = "The collections had different lengths.";
|
|
24
|
-
export declare const SR_notEnoughElements = "The input sequence has an insufficient number of elements.";
|
package/Guid.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FSharpRef } from "./Types.js";
|
|
2
|
-
export declare function toString(str: string, format?: string, _provider?: any): string;
|
|
3
|
-
/** Validates UUID as specified in RFC4122 (versions 1-5). */
|
|
4
|
-
export declare function parse(str: string): string;
|
|
5
|
-
export declare function tryParse(str: string, defValue: FSharpRef<string>): boolean;
|
|
6
|
-
export declare function newGuid(): string;
|
|
7
|
-
/** Parse a UUID into it's component bytes */
|
|
8
|
-
export declare function guidToArray(s: string): number[];
|
|
9
|
-
/** Convert UUID byte array into a string */
|
|
10
|
-
export declare function arrayToGuid(buf: ArrayLike<number>): string;
|