@glutinum/cli 1.0.0-beta.10 → 1.0.0-beta.11
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/dist/Glutinum.Converter/Abbreviations.js +7 -7
- package/dist/Glutinum.Converter/DelegateExtensions.js +7 -7
- package/dist/Glutinum.Converter/FreeTypeParameters.js +4 -4
- package/dist/Glutinum.Converter/FsharpAST.js +3 -3
- package/dist/Glutinum.Converter/Generate.js +19 -6
- package/dist/Glutinum.Converter/GlueAST.js +8 -8
- package/dist/Glutinum.Converter/Hosting.js +11 -11
- package/dist/Glutinum.Converter/Merge.js +103 -27
- package/dist/Glutinum.Converter/Packages.js +11 -11
- package/dist/Glutinum.Converter/Printer.js +11 -11
- package/dist/Glutinum.Converter/Read.js +9 -9
- package/dist/Glutinum.Converter/Reader/ClassDeclaration.js +4 -4
- package/dist/Glutinum.Converter/Reader/ConditionalTypeNode.js +3 -3
- package/dist/Glutinum.Converter/Reader/Declaration.js +7 -7
- package/dist/Glutinum.Converter/Reader/Deferred.js +8 -8
- package/dist/Glutinum.Converter/Reader/Documentation.js +6 -6
- package/dist/Glutinum.Converter/Reader/EnumDeclaration.js +2 -2
- package/dist/Glutinum.Converter/Reader/ExportAssignment.js +6 -6
- package/dist/Glutinum.Converter/Reader/ExportDeclaration.js +4 -4
- package/dist/Glutinum.Converter/Reader/ExpressionWithTypeArguments.js +5 -5
- package/dist/Glutinum.Converter/Reader/FunctionDeclaration.js +4 -4
- package/dist/Glutinum.Converter/Reader/IndexedAccessType.js +1 -1
- package/dist/Glutinum.Converter/Reader/InterfaceDeclaration.js +5 -5
- package/dist/Glutinum.Converter/Reader/IntersectionTypeNode.js +5 -5
- package/dist/Glutinum.Converter/Reader/MappedTypeNode.js +4 -4
- package/dist/Glutinum.Converter/Reader/MemberTypes.js +5 -5
- package/dist/Glutinum.Converter/Reader/ModuleDeclaration.js +4 -4
- package/dist/Glutinum.Converter/Reader/Node.js +4 -4
- package/dist/Glutinum.Converter/Reader/Parameters.js +3 -3
- package/dist/Glutinum.Converter/Reader/Report.js +4 -4
- package/dist/Glutinum.Converter/Reader/TypeNode.js +9 -9
- package/dist/Glutinum.Converter/Reader/TypeOperatorNode.js +6 -6
- package/dist/Glutinum.Converter/Reader/TypeParameters.js +2 -2
- package/dist/Glutinum.Converter/Reader/TypeQueryNode.js +10 -10
- package/dist/Glutinum.Converter/Reader/TypeScriptReader.js +4 -4
- package/dist/Glutinum.Converter/Reader/Types.js +10 -10
- package/dist/Glutinum.Converter/Reader/UnionTypeNode.js +4 -4
- package/dist/Glutinum.Converter/Reader/UtilityType.js +8 -8
- package/dist/Glutinum.Converter/Reader/Utils.js +14 -14
- package/dist/Glutinum.Converter/Reader/VariableStatement.js +5 -5
- package/dist/Glutinum.Converter/Transform.js +17 -21
- package/dist/Glutinum.Converter/Transformer/AnyFunctionOverloads.js +5 -5
- package/dist/Glutinum.Converter/Transformer/CallableProperties.js +3 -3
- package/dist/Glutinum.Converter/Transformer/Comment.js +7 -7
- package/dist/Glutinum.Converter/Transformer/Conditionals.js +10 -10
- package/dist/Glutinum.Converter/Transformer/Context.js +11 -11
- package/dist/Glutinum.Converter/Transformer/Enum.js +5 -5
- package/dist/Glutinum.Converter/Transformer/Exports.js +11 -11
- package/dist/Glutinum.Converter/Transformer/Heritage.js +8 -8
- package/dist/Glutinum.Converter/Transformer/KeyOfMaps.js +9 -9
- package/dist/Glutinum.Converter/Transformer/ParamObjectCandidate.js +7 -7
- package/dist/Glutinum.Converter/Transformer/TypeParameter.js +5 -5
- package/dist/Glutinum.Converter/Transformer/TypeParameters.js +6 -6
- package/dist/Glutinum.Converter/Transformer/UnionOverloads.js +7 -25
- package/dist/Glutinum.Converter/Transformer/Utils.js +6 -6
- package/dist/Glutinum.Converter/Utils/Keywords.js +3 -3
- package/dist/Glutinum.Converter/Utils/List.js +2 -2
- package/dist/Glutinum.Converter/Utils/Naming.js +6 -6
- package/dist/Glutinum.Converter/Utils/String.js +3 -3
- package/dist/Program.js +7 -7
- package/dist/fable_modules/Fable.Promise.3.2.1/AsyncIterable.fs.js +2 -2
- package/dist/fable_modules/Fable.Promise.3.2.1/Promise.fs.js +4 -4
- package/dist/fable_modules/Fable.Promise.3.2.1/PromiseImpl.fs.js +2 -2
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Array.fs.js +5 -5
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Async.fs.js +4 -4
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncOptionCE.fs.js +3 -3
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultCE.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOption.fs.js +3 -3
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOptionCE.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncValidationCE.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/List.fs.js +4 -4
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/OptionCE.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResult.fs.js +3 -3
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResultCE.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncValidationCE.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Result.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultCE.fs.js +2 -2
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOption.fs.js +2 -2
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOptionCE.fs.js +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Seq.fs.js +7 -7
- package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValidationCE.fs.js +1 -1
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Async.js +21 -7
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/AsyncBuilder.js +51 -6
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/CHANGELOG.md +23 -1
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/CollectionUtil.js +10 -16
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/MailboxProcessor.js +19 -3
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/MutableMap.js +5 -1
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/MutableSet.js +5 -1
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Util.js +15 -3
- package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/package.json +1 -1
- package/package.json +1 -1
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Array.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/BigInt.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/BitConverter.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Boolean.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Char.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Choice.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/ConditionalWeakTable.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Date.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/DateOffset.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/DateOnly.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/DateOnlyTemporal.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/DateTimeFormat.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/DateTimeOffsetTemporal.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/DateTimeTemporal.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Decimal.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Directory.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Double.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Encoding.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Environment.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Event.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/FSharp.Collections.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/FSharp.Core.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/File.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Global.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Guid.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Int32.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/List.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Long.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Map.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/MapUtil.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Native.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Numeric.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Observable.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Option.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Path.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/README.md +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Random.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Range.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Reflection.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/RegExp.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Result.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Seq.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Seq2.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Set.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/String.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/System.Collections.Generic.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/System.Text.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/System.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Task.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/TaskBuilder.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/TimeOnly.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/TimeOnlyTemporal.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/TimeSpan.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/TimeSpanTemporal.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Timer.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Types.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Unicode.13.0.0.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/Uri.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/big.d.ts +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/lib/big.js +0 -0
- /package/dist/fable_modules/{fable-library-js.5.17.2 → fable-library-js.5.21.0}/quotation.js +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
import { modulePathForDeclaration, resolveAlias } from "./Utils.js";
|
|
3
3
|
import { normalizePath } from "../Utils/String.js";
|
|
4
|
-
import { contains, item } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { contains, item } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
5
5
|
import { PackageContext__IsExternal_Z721C83C5 } from "./Types.js";
|
|
6
|
-
import { filter, collect, choose, cons, fold, reverse, empty } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { filter, collect, choose, cons, fold, reverse, empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
7
7
|
import { GlueType, GlueReExport } from "../GlueAST.js";
|
|
8
|
-
import { toList } from "../../fable_modules/fable-library-js.5.
|
|
9
|
-
import { stringHash } from "../../fable_modules/fable-library-js.5.
|
|
8
|
+
import { toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
9
|
+
import { stringHash } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
10
10
|
|
|
11
11
|
function readReExport(reader, packageContext, currentFile, exportedName, symbol) {
|
|
12
12
|
let declarations;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import { defaultArg, orElse } from "../../fable_modules/fable-library-js.5.
|
|
3
|
-
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { defaultArg, orElse } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
3
|
+
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Core.js";
|
|
4
4
|
import { resolvedBaseTypeArguments, typeNodeBuilderFlags, readTypeArguments, landingOf, crossesNamespace, modulePathForSymbol, isLibraryName, resolveValueAlias, knownExternalTypeNames, isExternalToPackages, declaredName, getFullNameOrEmpty, isFromEs5Lib } from "./Utils.js";
|
|
5
5
|
import { readPick, readOmit } from "./UtilityType.js";
|
|
6
|
-
import { FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
7
7
|
import { GlueTypeReference, GlueType } from "../GlueAST.js";
|
|
8
8
|
import { sanitizeTypeName } from "../Utils/Naming.js";
|
|
9
|
-
import { map, isEmpty, empty } from "../../fable_modules/fable-library-js.5.
|
|
10
|
-
import { toList } from "../../fable_modules/fable-library-js.5.
|
|
9
|
+
import { map, isEmpty, empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
10
|
+
import { toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
11
11
|
|
|
12
12
|
export function readExpressionWithTypeArguments(reader, typeNode) {
|
|
13
13
|
let symbol, symbol_2, symbol_3, symbol_4, matchValue_2, option_4, symbol_6, matchValue_3, ofAlias, matchValue_4, matchValue_5, alias, written, option_6;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { exists } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { exists } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
3
3
|
import { tryReadKeyOfConstraint, isDefaultInExportList, ModifierUtil_HasModifier_742AC9D } from "./Utils.js";
|
|
4
|
-
import { Exception } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { Exception } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
5
5
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
6
|
-
import { mapIndexed } from "../../fable_modules/fable-library-js.5.
|
|
7
|
-
import { value } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { mapIndexed } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
7
|
+
import { value } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
8
8
|
import { GlueType, GlueFunctionDeclaration, GlueTypeParameter } from "../GlueAST.js";
|
|
9
9
|
|
|
10
10
|
export function readFunctionDeclaration(reader, declaration) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { GluePrimitive, GlueType, GlueIndexedAccessType } from "../GlueAST.js";
|
|
3
3
|
import { typeNodeBuilderFlags, $007CHasTypeFlags$007C_$007C, enclosingDeclarationOf } from "./Utils.js";
|
|
4
4
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
5
|
-
import { concat } from "../../fable_modules/fable-library-js.5.
|
|
5
|
+
import { concat } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
6
6
|
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
7
7
|
|
|
8
8
|
export function readIndexedAccessType(reader, declaration) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { isEmpty, tryItem, tryPick, mapIndexed, filter, forAll, cons, map, collect, empty } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { isEmpty, tryItem, tryPick, mapIndexed, filter, forAll, cons, map, collect, empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
3
3
|
import { readHeritageClauses, getFullNameOrEmpty, otherFileInterfaceDeclarations, mainDeclaration } from "./Utils.js";
|
|
4
|
-
import { toList } from "../../fable_modules/fable-library-js.5.
|
|
5
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
5
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
6
6
|
import { GlueReExport, GlueType, GlueInterface, GlueTypeParameter } from "../GlueAST.js";
|
|
7
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.5.
|
|
8
|
-
import { safeHash, equals } from "../../fable_modules/fable-library-js.5.
|
|
7
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.5.21.0/Seq2.js";
|
|
8
|
+
import { safeHash, equals } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
9
9
|
import { PackageContext__TryFindExternalModulePath_Z721C83C5 } from "./Types.js";
|
|
10
10
|
|
|
11
11
|
export function readInterfaceDeclaration(reader, declaration) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { Exception, stringHash, structuralHash, equals, disposeSafe } from "../../fable_modules/fable-library-js.5.
|
|
3
|
-
import { head, tail, append, forAll as forAll_1, filter, empty, exists as exists_1, collect, isEmpty, map, concat, choose } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Exception, stringHash, structuralHash, equals, disposeSafe } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
3
|
+
import { head, tail, append, forAll as forAll_1, filter, empty, exists as exists_1, collect, isEmpty, map, concat, choose } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
4
4
|
import { readInstantiatedMember, readPropertyWithoutDeclaration, IntersectionTypePropertyResult } from "./MemberTypes.js";
|
|
5
|
-
import { item } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { filter as filter_1, exists, toList, forAll } from "../../fable_modules/fable-library-js.5.
|
|
7
|
-
import { List_distinctBy, List_distinct } from "../../fable_modules/fable-library-js.5.
|
|
5
|
+
import { item } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
6
|
+
import { filter as filter_1, exists, toList, forAll } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
7
|
+
import { List_distinctBy, List_distinct } from "../../fable_modules/fable-library-js.5.21.0/Seq2.js";
|
|
8
8
|
import { withInProgress, typeNodeBuilderFlags } from "./Utils.js";
|
|
9
9
|
import { GluePrimitive, GlueType } from "../GlueAST.js";
|
|
10
10
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { entityNameText, identifierText } from "./Utils.js";
|
|
3
|
-
import { exists } from "../../fable_modules/fable-library-js.5.
|
|
4
|
-
import { equals } from "../../fable_modules/fable-library-js.5.
|
|
3
|
+
import { exists } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
4
|
+
import { equals } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
5
5
|
import { ts } from "@ts-morph/bootstrap";
|
|
6
|
-
import { FSharpResult$2 } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library-js.5.21.0/Result.js";
|
|
7
7
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
8
|
-
import { head, tail, isEmpty, length } from "../../fable_modules/fable-library-js.5.
|
|
8
|
+
import { head, tail, isEmpty, length } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
9
9
|
import { GlueType, GlueMappedType } from "../GlueAST.js";
|
|
10
10
|
|
|
11
11
|
function tryIdentitySource(reader, mappedTypeNode) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { Union } from "../../fable_modules/fable-library-js.5.
|
|
3
|
-
import { union_type, class_type } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Union } from "../../fable_modules/fable-library-js.5.21.0/Types.js";
|
|
3
|
+
import { union_type, class_type } from "../../fable_modules/fable-library-js.5.21.0/Reflection.js";
|
|
4
4
|
import { enclosingDeclarationOf, $007CHasSymbolFlags$007C_$007C, typeNodeBuilderFlags } from "./Utils.js";
|
|
5
5
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
6
|
-
import { concat } from "../../fable_modules/fable-library-js.5.
|
|
7
|
-
import { empty } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { concat } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
7
|
+
import { empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
8
8
|
import { GlueMethod, GlueMethodSignature, GlueMember, GlueProperty, GlueAccessor } from "../GlueAST.js";
|
|
9
|
-
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.
|
|
9
|
+
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Core.js";
|
|
10
10
|
|
|
11
11
|
export class IntersectionTypePropertyResult extends Union {
|
|
12
12
|
constructor(tag, fields) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import { choose, concat, toList, exists } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { choose, concat, toList, exists } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
3
3
|
import { isExportedDeclaration, isGlobalAugmentation, isTopLevelModuleDeclaration, isMergedInterfaceDeclaration, identifierText } from "./Utils.js";
|
|
4
|
-
import { ofSeq, filter, empty, map, collect, singleton } from "../../fable_modules/fable-library-js.5.
|
|
5
|
-
import { singleton as singleton_1 } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { comparePrimitives } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { ofSeq, filter, empty, map, collect, singleton } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
5
|
+
import { singleton as singleton_1 } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
6
|
+
import { comparePrimitives } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
7
7
|
import { GlueModuleDeclaration } from "../GlueAST.js";
|
|
8
8
|
|
|
9
9
|
export function readModuleDeclaration(reader, declaration) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { GlueReExport, GlueType } from "../GlueAST.js";
|
|
3
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.5.
|
|
3
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
4
4
|
import { moduleExportNameText, resolveAlias } from "./Utils.js";
|
|
5
|
-
import { item } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { empty } from "../../fable_modules/fable-library-js.5.
|
|
5
|
+
import { item } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
6
|
+
import { empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
7
7
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
8
|
-
import { concat } from "../../fable_modules/fable-library-js.5.
|
|
8
|
+
import { concat } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
9
9
|
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
10
10
|
|
|
11
11
|
export function readNode(reader, node) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { filter, singleton, mapIndexed, concat } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { filter, singleton, mapIndexed, concat } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
3
3
|
import { typeNodeBuilderFlags, isTupleType, identifierText } from "./Utils.js";
|
|
4
4
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
5
|
-
import { concat as concat_1 } from "../../fable_modules/fable-library-js.5.
|
|
5
|
+
import { concat as concat_1 } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
6
6
|
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
7
|
-
import { toList } from "../../fable_modules/fable-library-js.5.
|
|
7
|
+
import { toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
8
8
|
import { GlueParameter } from "../GlueAST.js";
|
|
9
9
|
|
|
10
10
|
export function readParameters(reader, parameters) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import { class_type } from "../../fable_modules/fable-library-js.5.
|
|
3
|
-
import { concat, interpolate, substring, replace } from "../../fable_modules/fable-library-js.5.
|
|
4
|
-
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { class_type } from "../../fable_modules/fable-library-js.5.21.0/Reflection.js";
|
|
3
|
+
import { concat, interpolate, substring, replace } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
4
|
+
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Core.js";
|
|
5
5
|
import { ts } from "@ts-morph/bootstrap";
|
|
6
|
-
import { defaultOf } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { defaultOf } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
7
7
|
|
|
8
8
|
export class Report {
|
|
9
9
|
constructor() {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import { tryReadLiteral, typeLiteralId, declaredName, isFromEsLib, Type_StringLiteral_$007CString$007COther$007C, isFromEs5Lib, entityNameText, readTypeArguments, landingOf, crossesNamespace, modulePathForSymbol, isLibraryName, getFullNameOrEmpty, knownExternalTypeNames, isExternalToPackages, importedName, identifierText, typeNodeBuilderFlags, $007CHasTypeFlags$007C_$007C, resolveAlias, $007CHasSymbolFlags$007C_$007C, symbolAtLocation } from "./Utils.js";
|
|
3
|
-
import { unwrap, orElse, defaultArg, value as value_2 } from "../../fable_modules/fable-library-js.5.
|
|
3
|
+
import { unwrap, orElse, defaultArg, value as value_2 } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
4
4
|
import { GlueTypeLiteral, GlueConstructSignature, GlueThisType, GlueFunctionType, GlueTypeUnion, GlueLiteral, GlueTypeReference, GluePrimitive, GlueType } from "../GlueAST.js";
|
|
5
5
|
import { readReadonly, readPick, readOmit, readThisParameterType, readReturnType, readRecord, readPartial, readExclude, tryExpandAnonymousObjectApplication } from "./UtilityType.js";
|
|
6
|
-
import { contains, item as item_1 } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { contains, item as item_1 } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
7
7
|
import { isGlobalThisQuery, truncateToDeclaredArity, tryResolveDeferred, isDeferredConditional } from "./Deferred.js";
|
|
8
|
-
import { filter, choose, sortByDescending, tryHead, map as map_1, toList, exists } from "../../fable_modules/fable-library-js.5.
|
|
9
|
-
import { FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.
|
|
8
|
+
import { filter, choose, sortByDescending, tryHead, map as map_1, toList, exists } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
9
|
+
import { FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
10
10
|
import { sanitizeTypeName } from "../Utils/Naming.js";
|
|
11
|
-
import { exists as exists_1, collect, head, tail, isEmpty, map, append, fold, singleton, empty } from "../../fable_modules/fable-library-js.5.
|
|
12
|
-
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.
|
|
13
|
-
import { List_distinct, List_distinctBy } from "../../fable_modules/fable-library-js.5.
|
|
14
|
-
import { Exception, safeHash, equals, comparePrimitives, stringHash } from "../../fable_modules/fable-library-js.5.
|
|
11
|
+
import { exists as exists_1, collect, head, tail, isEmpty, map, append, fold, singleton, empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
12
|
+
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Core.js";
|
|
13
|
+
import { List_distinct, List_distinctBy } from "../../fable_modules/fable-library-js.5.21.0/Seq2.js";
|
|
14
|
+
import { Exception, safeHash, equals, comparePrimitives, stringHash } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
15
15
|
import { ts } from "@ts-morph/bootstrap";
|
|
16
|
-
import { concat } from "../../fable_modules/fable-library-js.5.
|
|
16
|
+
import { concat } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
17
17
|
import { readTypeQueryNode } from "./TypeQueryNode.js";
|
|
18
18
|
import { readIntersectionType } from "./IntersectionTypeNode.js";
|
|
19
19
|
import { readConditionalType } from "./ConditionalTypeNode.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import { withInProgress, removeParenthesizedType } from "./Utils.js";
|
|
3
3
|
import { GlueTypeUnion, GlueType, GluePrimitive } from "../GlueAST.js";
|
|
4
|
-
import { ofArray } from "../../fable_modules/fable-library-js.5.
|
|
5
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { tryFind } from "../../fable_modules/fable-library-js.5.
|
|
7
|
-
import { contains, item as item_2 } from "../../fable_modules/fable-library-js.5.
|
|
8
|
-
import { Exception, structuralHash, equals } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { ofArray } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
5
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
6
|
+
import { tryFind } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
7
|
+
import { contains, item as item_2 } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
8
|
+
import { Exception, structuralHash, equals } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
9
9
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
10
10
|
import { readTypeQueryNode } from "./TypeQueryNode.js";
|
|
11
|
-
import { concat } from "../../fable_modules/fable-library-js.5.
|
|
11
|
+
import { concat } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
12
12
|
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
13
13
|
|
|
14
14
|
export function readTypeOperatorNode(reader, node) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { empty, map } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { empty, map } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
3
3
|
import { identifierText } from "./Utils.js";
|
|
4
4
|
import { GlueTypeParameter } from "../GlueAST.js";
|
|
5
|
-
import { toList } from "../../fable_modules/fable-library-js.5.
|
|
5
|
+
import { toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
6
6
|
|
|
7
7
|
export function readTypeParameters(reader, typeParameters) {
|
|
8
8
|
if (typeParameters != null) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
import { primitiveOfFlags, isFromEsLib, isFromEs5Lib, withInProgress, identifierText, isTopLevelModuleDeclaration, modulePathForSymbol, declaredName, $007CHasSymbolFlags$007C_$007C, resolveAlias, $007CHasTypeFlags$007C_$007C } from "./Utils.js";
|
|
3
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.5.
|
|
4
|
-
import { contains, item } from "../../fable_modules/fable-library-js.5.
|
|
5
|
-
import { collect as collect_1, append as append_1, delay, toList, exists } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { filter, isEmpty, singleton, append, map, empty } from "../../fable_modules/fable-library-js.5.
|
|
3
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
4
|
+
import { contains, item } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
5
|
+
import { collect as collect_1, append as append_1, delay, toList, exists } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
6
|
+
import { filter, isEmpty, singleton, append, map, empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
7
7
|
import { GlueFunctionDeclaration, GlueSubstitution_substituteParameter, GlueSubstitution_substitute, GlueSubstitution_mentionedTypeParameters, GlueFunctionType, GlueTypeReference, GlueType, GluePrimitive } from "../GlueAST.js";
|
|
8
8
|
import { sanitizeTypeName, removeSurroundingQuotes } from "../Utils/Naming.js";
|
|
9
9
|
import { PackageContext__ModulePath_Z721C83C5 } from "./Types.js";
|
|
10
10
|
import { normalizePath } from "../Utils/String.js";
|
|
11
|
-
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.
|
|
12
|
-
import { FSharpSet__Contains, ofSeq } from "../../fable_modules/fable-library-js.5.
|
|
13
|
-
import { structuralHash, equals, comparePrimitives } from "../../fable_modules/fable-library-js.5.
|
|
14
|
-
import { ofList } from "../../fable_modules/fable-library-js.5.
|
|
11
|
+
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Core.js";
|
|
12
|
+
import { FSharpSet__Contains, ofSeq } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
13
|
+
import { structuralHash, equals, comparePrimitives } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
14
|
+
import { ofList } from "../../fable_modules/fable-library-js.5.21.0/Map.js";
|
|
15
15
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
16
|
-
import { FSharpResult$2 } from "../../fable_modules/fable-library-js.5.
|
|
17
|
-
import { concat } from "../../fable_modules/fable-library-js.5.
|
|
16
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library-js.5.21.0/Result.js";
|
|
17
|
+
import { concat } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
18
18
|
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
19
19
|
|
|
20
20
|
export function readTypeQueryNode(reader, typeQueryNode) {
|
|
@@ -7,7 +7,7 @@ import { readFunctionDeclaration } from "./FunctionDeclaration.js";
|
|
|
7
7
|
import { tryReadExternalRedeclaration, readInterfaceDeclaration } from "./InterfaceDeclaration.js";
|
|
8
8
|
import { readModuleDeclaration } from "./ModuleDeclaration.js";
|
|
9
9
|
import { readNode } from "./Node.js";
|
|
10
|
-
import { addToSet } from "../../fable_modules/fable-library-js.5.
|
|
10
|
+
import { addToSet } from "../../fable_modules/fable-library-js.5.21.0/MapUtil.js";
|
|
11
11
|
import { readTypeAliasDeclaration } from "./TypeAliasDeclaration.js";
|
|
12
12
|
import { readTypeNode } from "./TypeNode.js";
|
|
13
13
|
import { readVariableStatement } from "./VariableStatement.js";
|
|
@@ -21,10 +21,10 @@ import { readExportAssignment } from "./ExportAssignment.js";
|
|
|
21
21
|
import { readDocumentationForNode, readDocumentationForSignature } from "./Documentation.js";
|
|
22
22
|
import { readNamedTupleMember } from "./NamedTupleMember.js";
|
|
23
23
|
import { readMappedTypeNode } from "./MappedTypeNode.js";
|
|
24
|
-
import { HashSet } from "../../fable_modules/fable-library-js.5.
|
|
25
|
-
import { HashIdentity_Reference } from "../../fable_modules/fable-library-js.5.
|
|
24
|
+
import { HashSet } from "../../fable_modules/fable-library-js.5.21.0/MutableSet.js";
|
|
25
|
+
import { HashIdentity_Reference } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Collections.js";
|
|
26
26
|
import { ReadInProgress_Create } from "./Types.js";
|
|
27
|
-
import { class_type } from "../../fable_modules/fable-library-js.5.
|
|
27
|
+
import { class_type } from "../../fable_modules/fable-library-js.5.21.0/Reflection.js";
|
|
28
28
|
|
|
29
29
|
export class TypeScriptReader {
|
|
30
30
|
constructor(checker, packageContext) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record } from "../../fable_modules/fable-library-js.5.
|
|
3
|
-
import { array_type, lambda_type, option_type, record_type, class_type, list_type, tuple_type, bool_type, string_type } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record } from "../../fable_modules/fable-library-js.5.21.0/Types.js";
|
|
3
|
+
import { array_type, lambda_type, option_type, record_type, class_type, list_type, tuple_type, bool_type, string_type } from "../../fable_modules/fable-library-js.5.21.0/Reflection.js";
|
|
4
4
|
import { sanitizeTypeName } from "../Utils/Naming.js";
|
|
5
|
-
import { substring, split, join } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.
|
|
7
|
-
import { choose, tryFind, skip, take, length, cons, head, tail, empty as empty_1, isEmpty, reverse, exists, tryPick, tryHead, ofArray, filter, map } from "../../fable_modules/fable-library-js.5.
|
|
5
|
+
import { substring, split, join } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
6
|
+
import { FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
7
|
+
import { choose, tryFind, skip, take, length, cons, head, tail, empty as empty_1, isEmpty, reverse, exists, tryPick, tryHead, ofArray, filter, map } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
8
8
|
import { withoutDeclarationExtension, normalizePath } from "../Utils/String.js";
|
|
9
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library-js.5.
|
|
10
|
-
import { toList as toList_1, ofList, map as map_2, empty as empty_2, add, fold, FSharpMap__ContainsKey, FSharpMap__TryFind } from "../../fable_modules/fable-library-js.5.
|
|
11
|
-
import { map as map_1 } from "../../fable_modules/fable-library-js.5.
|
|
12
|
-
import { comparePrimitives, equals } from "../../fable_modules/fable-library-js.5.
|
|
13
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.5.
|
|
9
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
10
|
+
import { toList as toList_1, ofList, map as map_2, empty as empty_2, add, fold, FSharpMap__ContainsKey, FSharpMap__TryFind } from "../../fable_modules/fable-library-js.5.21.0/Map.js";
|
|
11
|
+
import { map as map_1 } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
12
|
+
import { comparePrimitives, equals } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
13
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
14
14
|
|
|
15
15
|
export class PackageInfo extends Record {
|
|
16
16
|
constructor(ModuleName, RuntimeName, HasRuntime, Dir, TypesRoot, EntryFile, SubpathEntries, ReExportedSymbols, ReExportedFiles, ReExportedNames, DefaultExportNames, HasExportsMap, HoistableDeclarations, AmbientModuleFiles) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { map, isEmpty, singleton, choose, concat } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { map, isEmpty, singleton, choose, concat } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
3
3
|
import { ts } from "@ts-morph/bootstrap";
|
|
4
4
|
import { removeParenthesizedType, withInProgress, modulePathForSymbol, isExternalToPackages, isFromEs5Lib, $007CHasTypeFlags$007C_$007C, symbolAtLocation, tryReadLiteral } from "./Utils.js";
|
|
5
|
-
import { Exception } from "../../fable_modules/fable-library-js.5.
|
|
5
|
+
import { Exception } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
6
6
|
import { GlueTypeUnion, GluePrimitive, GlueType } from "../GlueAST.js";
|
|
7
7
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
8
|
-
import { item } from "../../fable_modules/fable-library-js.5.
|
|
9
|
-
import { toList, exists } from "../../fable_modules/fable-library-js.5.
|
|
8
|
+
import { item } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
9
|
+
import { toList, exists } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
10
10
|
|
|
11
11
|
function readUnionTypeCases(reader, unionTypeNode) {
|
|
12
12
|
const checker = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_checker"]();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import { typeLiteralId, readTypeArguments, entityNameText, getFullNameOrEmpty, defaultTypeArguments, identifierText, isTupleType, resolveAlias, symbolAtLocation, withInProgress, $007CHasSymbolFlags$007C_$007C, typeNodeBuilderFlags, Type_NumberLiteral_$007CInt$007CFloat$007COther$007C, Type_StringLiteral_$007CString$007COther$007C, $007CHasTypeFlags$007C_$007C } from "./Utils.js";
|
|
3
3
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
4
|
-
import { item as item_4, contains, filter as filter_1, append, collect, map, ofArray, isEmpty, choose, singleton, empty } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { item as item_4, contains, filter as filter_1, append, collect, map, ofArray, isEmpty, choose, singleton, empty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
5
5
|
import { GlueReadonly, GlueRecord, GlueUtilityType, GlueInterface, GlueSubstitution_substituteMember, GlueSubstitution_mentionedTypeParameters, GlueTypeLiteral, GluePrimitive, GlueTypeUnion, GlueType, GlueLiteral } from "../GlueAST.js";
|
|
6
|
-
import { contains as contains_1, singleton as singleton_1, choose as choose_1, ofList as ofList_1, empty as empty_1, exists, filter, forAll, toList } from "../../fable_modules/fable-library-js.5.
|
|
7
|
-
import { toArray, defaultArg, value as value_6 } from "../../fable_modules/fable-library-js.5.
|
|
6
|
+
import { contains as contains_1, singleton as singleton_1, choose as choose_1, ofList as ofList_1, empty as empty_1, exists, filter, forAll, toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
7
|
+
import { toArray, defaultArg, value as value_6 } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
8
8
|
import { readInstantiatedMember, readPropertyWithoutDeclaration } from "./MemberTypes.js";
|
|
9
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.5.
|
|
10
|
-
import { comparePrimitives, stringHash, safeHash, equals } from "../../fable_modules/fable-library-js.5.
|
|
11
|
-
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.
|
|
9
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.5.21.0/Seq2.js";
|
|
10
|
+
import { comparePrimitives, stringHash, safeHash, equals } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
11
|
+
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Core.js";
|
|
12
12
|
import { readTypeUsingFlags } from "./Deferred.js";
|
|
13
|
-
import { FSharpMap__get_IsEmpty, FSharpMap__ContainsKey, ofList } from "../../fable_modules/fable-library-js.5.
|
|
14
|
-
import { item as item_5 } from "../../fable_modules/fable-library-js.5.
|
|
13
|
+
import { FSharpMap__get_IsEmpty, FSharpMap__ContainsKey, ofList } from "../../fable_modules/fable-library-js.5.21.0/Map.js";
|
|
14
|
+
import { item as item_5 } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
15
15
|
|
|
16
16
|
export function readExclude(reader, typeReferenceNode) {
|
|
17
17
|
let matchValue_1, activePatternResult_4, item, objectArg, activePatternResult_6, item_1, objectArg_1, matchValue_3, typeArguments, typeArguments_1, excluded, isNullish, matchValue_5, symbol, matchValue_6, matchValue_7, typeArguments_2, typeArguments_3, excluded_1, isNullish_1, matchValue_9, symbol_1, matchValue_10, matchValue_11, typeArguments_4, typeArguments_5, excluded_2, isNullish_2, matchValue_13, symbol_2, matchValue_14;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { orElse, defaultArg, some } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { orElse, defaultArg, some } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
3
3
|
import { GlueTypeParameter, GlueAccessor, GlueLiteral, GlueType, GluePrimitive } from "../GlueAST.js";
|
|
4
|
-
import { tryParse } from "../../fable_modules/fable-library-js.5.
|
|
5
|
-
import { FSharpRef } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { tryParse as tryParse_1 } from "../../fable_modules/fable-library-js.5.
|
|
7
|
-
import { equals, comparePrimitives, stringHash, defaultOf } from "../../fable_modules/fable-library-js.5.
|
|
8
|
-
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { tryParse } from "../../fable_modules/fable-library-js.5.21.0/Int32.js";
|
|
5
|
+
import { FSharpRef } from "../../fable_modules/fable-library-js.5.21.0/Types.js";
|
|
6
|
+
import { tryParse as tryParse_1 } from "../../fable_modules/fable-library-js.5.21.0/Double.js";
|
|
7
|
+
import { equals, comparePrimitives, stringHash, defaultOf } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
8
|
+
import { Operators_IsNull } from "../../fable_modules/fable-library-js.5.21.0/FSharp.Core.js";
|
|
9
9
|
import { withoutDeclarationExtension, normalizePath } from "../Utils/String.js";
|
|
10
|
-
import { class_type } from "../../fable_modules/fable-library-js.5.
|
|
11
|
-
import { tryPick, map as map_2, last, iterate, toList, tryHead, exists } from "../../fable_modules/fable-library-js.5.
|
|
10
|
+
import { class_type } from "../../fable_modules/fable-library-js.5.21.0/Reflection.js";
|
|
11
|
+
import { tryPick, map as map_2, last, iterate, toList, tryHead, exists } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
12
12
|
import { PackageContext__ModulePath_Z7E147617, PackageContext__NestedAmbientModuleSegments_32BC514A, PackageContext__IsExternalLibFile_Z721C83C5, PackageContext__IsEntryFile_Z721C83C5, ambientSpecifier, PackageContext__IsExternal_Z721C83C5, PackageContext__TryFindExternalModulePath_Z721C83C5, PackageContext__TryFindPackage_Z721C83C5 } from "./Types.js";
|
|
13
|
-
import { tail, append, cons, tryHead as tryHead_1, exists as exists_1, tryFind, isEmpty, filter, head, tryItem, mapIndexed, choose, ofArray, contains, collect as collect_1, empty, map as map_1 } from "../../fable_modules/fable-library-js.5.
|
|
14
|
-
import { item as item_1 } from "../../fable_modules/fable-library-js.5.
|
|
15
|
-
import { contains as contains_1, ofSeq } from "../../fable_modules/fable-library-js.5.
|
|
16
|
-
import { ofList, empty as empty_1 } from "../../fable_modules/fable-library-js.5.
|
|
17
|
-
import { substring, split } from "../../fable_modules/fable-library-js.5.
|
|
13
|
+
import { tail, append, cons, tryHead as tryHead_1, exists as exists_1, tryFind, isEmpty, filter, head, tryItem, mapIndexed, choose, ofArray, contains, collect as collect_1, empty, map as map_1 } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
14
|
+
import { item as item_1 } from "../../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
15
|
+
import { contains as contains_1, ofSeq } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
16
|
+
import { ofList, empty as empty_1 } from "../../fable_modules/fable-library-js.5.21.0/Map.js";
|
|
17
|
+
import { substring, split } from "../../fable_modules/fable-library-js.5.21.0/String.js";
|
|
18
18
|
import { sanitizeTypeName, removeSurroundingQuotes } from "../Utils/Naming.js";
|
|
19
19
|
import { ts } from "@ts-morph/bootstrap";
|
|
20
|
-
import { FSharpChoice$3, FSharpChoice$2 } from "../../fable_modules/fable-library-js.5.
|
|
20
|
+
import { FSharpChoice$3, FSharpChoice$2 } from "../../fable_modules/fable-library-js.5.21.0/Choice.js";
|
|
21
21
|
|
|
22
22
|
export function $007CHasTypeFlags$007C_$007C(flag, flags) {
|
|
23
23
|
if ((flags & flag) !== 0) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { exportedAlias, typeNodeBuilderFlags, identifierText, isExportedDeclaration } from "./Utils.js";
|
|
3
|
-
import { ofSeq } from "../../fable_modules/fable-library-js.5.
|
|
4
|
-
import { toList, choose } from "../../fable_modules/fable-library-js.5.
|
|
5
|
-
import { Exception, comparePrimitives } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { head, isEmpty } from "../../fable_modules/fable-library-js.5.
|
|
3
|
+
import { ofSeq } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
4
|
+
import { toList, choose } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
5
|
+
import { Exception, comparePrimitives } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
6
|
+
import { head, isEmpty } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
7
7
|
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
8
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.5.
|
|
8
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
9
9
|
import { GlueType, GlueVariable } from "../GlueAST.js";
|
|
10
10
|
|
|
11
11
|
export function readVariableStatement(reader, statement) {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
|
|
2
|
-
import { Record } from "../fable_modules/fable-library-js.5.
|
|
3
|
-
import { int32_type, bool_type, array_type, list_type, record_type, class_type, string_type } from "../fable_modules/fable-library-js.5.
|
|
2
|
+
import { Record } from "../fable_modules/fable-library-js.5.21.0/Types.js";
|
|
3
|
+
import { int32_type, bool_type, array_type, list_type, record_type, class_type, string_type } from "../fable_modules/fable-library-js.5.21.0/Reflection.js";
|
|
4
4
|
import { Reporter__get_HasIterable, Reporter__get_HasReadonlyArray, Reporter__get_HasRegEpx, Reporter__get_Errors, Reporter__get_Warnings, TransformState_Create_Z68CEF8E2, TypeLiteralsMemory_$ctor, Reporter_$ctor, TransformContext__ToList, importDefaultAttribute, TransformContext_$ctor_Z1635F75A, TypeLiteralsMemory__EnterFileModule_Z721C83C5, TransformContext__get__Reporter, TransformContext__set_SiblingTypeNames_2FCB1351, importAttribute, TypeLiteralsMemory__LeaveModule, TypeLiteralsMemory__EnterModule_Z721C83C5, TransformContext__ExposeTypeAlias_1CE4A880, TransformContext__AddWarning_Z721C83C5, sanitizeTypeNameAndPushScope, ImportSource, TransformContext__get_ImportSource, TransformContext__get_TypeMemory, sanitizeMemberNameAndPushScope, TransformContext__AddError_Z721C83C5, TypeLiteralsMemory__Remember_74C8CBB, TransformContext__get_TypeLiteralsMemory, TransformContext__get_Root, TypeLiteralsMemory__TryReference_433E080, TransformContext__get_State, TransformContext__get_FullName, TransformContext__ExposeType_Z1D58A540, TransformContext__PushScope_27AED5E3, sanitizeNameAndPushScope, TransformContext__NewTypeName, TransformContext__get_CurrentScopeName, TransformContext__ExposeIterable, TransformContext__ReferenceName_Z721C83C5, TransformContext__get_OriginalScopeName, TransformContext__ExposeTypeAlias_Z721C83C5, TransformContext__ExposeReadonlyArray, ImportSource_$reflection, TransformContext_$reflection } from "./Transformer/Context.js";
|
|
5
5
|
import { GlueReExport, GlueVariable, GlueTypeReference, GlueClassDeclaration, GlueLiteral__ToText, GlueIndexSignature, GlueLiteral, GlueTypeUnion, GlueMember__TryGetAccessor, GlueMember__get_Documentation, GluePrimitive, GlueProperty, GlueAccessor, GlueFunctionDeclaration, GlueMethod, GlueMethodSignature, GlueSubstitution_mentionedTypeParameters, GlueFunctionType, GlueParameter, GlueType, GlueTypeLiteral, GlueMember, GlueTypeParameter, GlueSubstitution_substitute, GlueSubstitution_substituteParameter, GlueInterface, GlueTypeAliasDeclaration_$reflection } from "./GlueAST.js";
|
|
6
6
|
import { transformComment, TransformCommentResult_$reflection } from "./Transformer/Comment.js";
|
|
7
7
|
import { SealedTypeInfo, TransformDeclarationTypeParametersResult, TransformTypeParametersResult, TransformResult_Create_403667D8, mapFSharpType, mapFsharpParameter, TransformDeclarationTypeParametersResult_$reflection } from "./Transformer/TypeParameter.js";
|
|
8
8
|
import { FSharpModule, FSharpSingleErasedCaseUnion, FSharpJSApi, FSharpEnum, FSharpEnumCase, FSharpLiteral, FSharpUnionCaseNamed, FSharpClass, FSharpConstructor, FSharpExplicitField, FSharpMemberInfoBody, FSharpAccessibility, FSharpStaticMemberInfo, FSharpMember, FSharpMemberInfo, FSharpAccessor, FSharpParameter, FSharpThisType, FSharpPrimitive, FSharpTypeAlias, FSharpDelegate, FSharpFunctionType, FSharpTypeReference, FSharpUnion, FSharpUnionCase, FSharpTypeParameter, FSharpMapped, FSharpInterface, FSharpAttribute, FSharpType, FSharpType_$reflection } from "./FsharpAST.js";
|
|
9
|
-
import { empty as empty_3, add, contains as contains_2,
|
|
9
|
+
import { ofSeq as ofSeq_1, empty as empty_3, add, contains as contains_2, ofList, FSharpSet__Contains } from "../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
10
10
|
import { aggregatedExports, replaceSelfReference, isUnitAlias, typedArrayNames, transformPrimitive, requiredBeforeParamArray, isDataObject, Interface_makePartial, tryUnwrapOption, iteratorNames } from "./Transformer/Utils.js";
|
|
11
|
-
import { value as value_7, toArray, defaultArg } from "../fable_modules/fable-library-js.5.
|
|
12
|
-
import { zip, mapFold, tryPick, item, concat as concat_1, reverse, iterate, cons, foldBack, fold, sortBy, tryFind, ofSeq, forAll, truncate, contains, exists, partition, mapIndexed, filter, append, length, collect, tryLast, choose, tryHead, singleton, empty, ofArray, map, head as head_1, tail as tail_1, isEmpty } from "../fable_modules/fable-library-js.5.
|
|
11
|
+
import { value as value_7, toArray, defaultArg } from "../fable_modules/fable-library-js.5.21.0/Option.js";
|
|
12
|
+
import { zip, mapFold, tryPick, item, concat as concat_1, reverse, iterate, cons, foldBack, fold, sortBy, tryFind, ofSeq, forAll, truncate, contains, exists, partition, mapIndexed, filter, append, length, collect, tryLast, choose, tryHead, singleton, empty, ofArray, map, head as head_1, tail as tail_1, isEmpty } from "../fable_modules/fable-library-js.5.21.0/List.js";
|
|
13
13
|
import { aliasArities, membersNameUndeclaredTypeParameters, mentionsTypeParameter, ownTypeParameterDefaults, typeParameterNames as typeParameterNames_2, unconstrained, memberTypeParameterNames, typeArguments, declaredTypeParameters as declaredTypeParameters_1 } from "./Transformer/TypeParameters.js";
|
|
14
|
-
import { List_groupBy, List_distinct } from "../fable_modules/fable-library-js.5.
|
|
15
|
-
import { uncurry2, curry2, Lazy, structuralHash, Exception, numberHash, int32ToString, comparePrimitives, safeHash, equals, stringHash } from "../fable_modules/fable-library-js.5.
|
|
16
|
-
import { replace, trim, interpolate, concat } from "../fable_modules/fable-library-js.5.
|
|
14
|
+
import { List_groupBy, List_distinct } from "../fable_modules/fable-library-js.5.21.0/Seq2.js";
|
|
15
|
+
import { uncurry2, curry2, Lazy, structuralHash, Exception, numberHash, int32ToString, comparePrimitives, safeHash, equals, stringHash } from "../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
16
|
+
import { replace, trim, interpolate, concat } from "../fable_modules/fable-library-js.5.21.0/String.js";
|
|
17
17
|
import { resolveMembers, isConditionalAlias, isInterfaceDeclaration } from "./Transformer/Conditionals.js";
|
|
18
|
-
import { FSharpMap__TryFind, exists as exists_1, empty as empty_2, ofList as ofList_1, FSharpMap__ContainsKey, FSharpMap__get_Item, map as map_1 } from "../fable_modules/fable-library-js.5.
|
|
18
|
+
import { FSharpMap__TryFind, exists as exists_1, empty as empty_2, ofList as ofList_1, FSharpMap__ContainsKey, FSharpMap__get_Item, map as map_1 } from "../fable_modules/fable-library-js.5.21.0/Map.js";
|
|
19
19
|
import { removeSurroundingQuotes, sanitizeTypeNameWithResult, sanitizeTypeName } from "./Utils/Naming.js";
|
|
20
|
-
import { map as map_2, append as append_1, empty as empty_1, singleton as singleton_1, delay, toList } from "../fable_modules/fable-library-js.5.
|
|
20
|
+
import { map as map_2, append as append_1, empty as empty_1, singleton as singleton_1, delay, toList } from "../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
21
21
|
import { capitalizeFirstLetter } from "./Utils/String.js";
|
|
22
|
-
import { addToSet } from "../fable_modules/fable-library-js.5.
|
|
22
|
+
import { addToSet } from "../fable_modules/fable-library-js.5.21.0/MapUtil.js";
|
|
23
23
|
import { expandMembers } from "./Transformer/AnyFunctionOverloads.js";
|
|
24
24
|
import { isMap, keysModule, isMapNamed, expandMembers as expandMembers_1 } from "./Transformer/KeyOfMaps.js";
|
|
25
25
|
import { defaultMaxOverloads, isNullish, tryCases, expandMembers as expandMembers_2 } from "./Transformer/UnionOverloads.js";
|
|
26
26
|
import { applyWith as applyWith_1, disambiguateOverloads, aliasesOf, parametersSignature, Aliases_get_Empty, distinctBySignature } from "./Merge.js";
|
|
27
|
-
import { min } from "../fable_modules/fable-library-js.5.
|
|
28
|
-
import { contains as contains_1 } from "../fable_modules/fable-library-js.5.
|
|
27
|
+
import { min } from "../fable_modules/fable-library-js.5.21.0/Double.js";
|
|
28
|
+
import { contains as contains_1 } from "../fable_modules/fable-library-js.5.21.0/Array.js";
|
|
29
29
|
import { inheritsIterable, asMethods, tryCallableHeritage } from "./Transformer/CallableProperties.js";
|
|
30
30
|
import { withoutBaseClassProperties, withoutBasesOfBases, isInheritableType, isSelfHeritage, isArrayHeritage, isErrorHeritage, withoutRedeclaredBases } from "./Transformer/Heritage.js";
|
|
31
31
|
import { isCandidate, tryResolveMembers } from "./Transformer/ParamObjectCandidate.js";
|
|
32
|
-
import { op_UnaryNegation_Int32 } from "../fable_modules/fable-library-js.5.
|
|
32
|
+
import { op_UnaryNegation_Int32 } from "../fable_modules/fable-library-js.5.21.0/Int32.js";
|
|
33
33
|
import { transformEnum } from "./Transformer/Enum.js";
|
|
34
34
|
import { Transforms, transformExports } from "./Transformer/Exports.js";
|
|
35
35
|
import { apply as apply_1 } from "./DelegateExtensions.js";
|
|
@@ -2464,9 +2464,8 @@ function tryParameterCombinations(maxOverloads, parameters) {
|
|
|
2464
2464
|
}
|
|
2465
2465
|
|
|
2466
2466
|
function paramObjectParameterSets(context, members) {
|
|
2467
|
-
let option_3;
|
|
2468
2467
|
const parameters = paramObjectParameters(context, members);
|
|
2469
|
-
const expandable = map((parameter) => {
|
|
2468
|
+
const expandable = (TransformContext__get_State(context).MaxOverloads > 1) ? map((parameter) => {
|
|
2470
2469
|
let tupledArg;
|
|
2471
2470
|
let aliasCases;
|
|
2472
2471
|
const matchValue_1 = parameter.OriginalGlueMember;
|
|
@@ -2546,11 +2545,8 @@ function paramObjectParameterSets(context, members) {
|
|
|
2546
2545
|
TransformContext__get_State(context_1).UnionAliasesBeingExpanded.splice(TransformContext__get_State(context_1).UnionAliasesBeingExpanded.length - 1, 1);
|
|
2547
2546
|
}
|
|
2548
2547
|
}
|
|
2549
|
-
}, parameters);
|
|
2550
|
-
|
|
2551
|
-
Compare: (x_1, y_1) => (comparePrimitives(x_1, y_1) | 0),
|
|
2552
|
-
});
|
|
2553
|
-
return defaultArg((option_3 = tryParameterCombinations(TransformContext__get_State(context).MaxOverloads, expandable), (option_3 != null) ? append(filter((list_4) => exists((parameter_2) => FSharpSet__Contains(expandedNames, parameter_2.Name), list_4), option_3), singleton(parameters)) : undefined), singleton(parameters));
|
|
2548
|
+
}, parameters) : parameters;
|
|
2549
|
+
return defaultArg(tryParameterCombinations(TransformContext__get_State(context).MaxOverloads, expandable), singleton(parameters));
|
|
2554
2550
|
}
|
|
2555
2551
|
|
|
2556
2552
|
function paramObjectCreateMembers(context, returnType, members) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { singleton as singleton_1, collect as collect_1, append, mapIndexed, empty, choose, tryFindIndex, ofArray, take, map, tail, head, isEmpty, contains } from "../../fable_modules/fable-library-js.5.
|
|
2
|
+
import { singleton as singleton_1, collect as collect_1, append, mapIndexed, empty, choose, tryFindIndex, ofArray, take, map, tail, head, isEmpty, contains } from "../../fable_modules/fable-library-js.5.21.0/List.js";
|
|
3
3
|
import { FSharpMember, FSharpMemberInfo, FSharpFunctionType, FSharpPrimitive, FSharpParameter, FSharpType, FSharpAttribute } from "../FsharpAST.js";
|
|
4
|
-
import { comparePrimitives, safeHash, equals } from "../../fable_modules/fable-library-js.5.
|
|
5
|
-
import { ofSeq, FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.
|
|
6
|
-
import { append as append_1, singleton, collect, delay, toList } from "../../fable_modules/fable-library-js.5.
|
|
4
|
+
import { comparePrimitives, safeHash, equals } from "../../fable_modules/fable-library-js.5.21.0/Util.js";
|
|
5
|
+
import { ofSeq, FSharpSet__Contains } from "../../fable_modules/fable-library-js.5.21.0/Set.js";
|
|
6
|
+
import { append as append_1, singleton, collect, delay, toList } from "../../fable_modules/fable-library-js.5.21.0/Seq.js";
|
|
7
7
|
import { declaredTypeParameters } from "./TypeParameters.js";
|
|
8
|
-
import { rangeDouble } from "../../fable_modules/fable-library-js.5.
|
|
8
|
+
import { rangeDouble } from "../../fable_modules/fable-library-js.5.21.0/Range.js";
|
|
9
9
|
|
|
10
10
|
const MAX_ARITY = 3;
|
|
11
11
|
|