@typescript-deploys/pr-build 5.0.0-pr-51387-49 → 5.0.0-pr-51157-8
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/lib/tsc.js +730 -490
- package/lib/tsserver.js +794 -505
- package/lib/tsserverlibrary.d.ts +20 -9
- package/lib/tsserverlibrary.js +794 -505
- package/lib/typescript.d.ts +18 -7
- package/lib/typescript.js +776 -500
- package/lib/typingsInstaller.js +112 -120
- package/package.json +1 -1
package/lib/typingsInstaller.js
CHANGED
|
@@ -50,7 +50,7 @@ var path = __toESM(require("path"));
|
|
|
50
50
|
|
|
51
51
|
// src/compiler/corePublic.ts
|
|
52
52
|
var versionMajorMinor = "5.0";
|
|
53
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
53
|
+
var version = `${versionMajorMinor}.0-insiders.20221108`;
|
|
54
54
|
var NativeCollections;
|
|
55
55
|
((NativeCollections2) => {
|
|
56
56
|
const globals = typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : void 0;
|
|
@@ -6461,6 +6461,7 @@ var Diagnostics = {
|
|
|
6461
6461
|
Matched_0_condition_1: diag(6403, 3 /* Message */, "Matched_0_condition_1_6403", "Matched '{0}' condition '{1}'."),
|
|
6462
6462
|
Using_0_subpath_1_with_target_2: diag(6404, 3 /* Message */, "Using_0_subpath_1_with_target_2_6404", "Using '{0}' subpath '{1}' with target '{2}'."),
|
|
6463
6463
|
Saw_non_matching_condition_0: diag(6405, 3 /* Message */, "Saw_non_matching_condition_0_6405", "Saw non-matching condition '{0}'."),
|
|
6464
|
+
Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions: diag(6406, 3 /* Message */, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406", "Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),
|
|
6464
6465
|
The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: diag(6500, 3 /* Message */, "The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500", "The expected type comes from property '{0}' which is declared here on type '{1}'"),
|
|
6465
6466
|
The_expected_type_comes_from_this_index_signature: diag(6501, 3 /* Message */, "The_expected_type_comes_from_this_index_signature_6501", "The expected type comes from this index signature."),
|
|
6466
6467
|
The_expected_type_comes_from_the_return_type_of_this_signature: diag(6502, 3 /* Message */, "The_expected_type_comes_from_the_return_type_of_this_signature_6502", "The expected type comes from the return type of this signature."),
|
|
@@ -24275,12 +24276,60 @@ var commonOptionsWithBuild = [
|
|
|
24275
24276
|
transpileOptionValue: void 0,
|
|
24276
24277
|
defaultValueDescription: Diagnostics.false_unless_composite_is_set
|
|
24277
24278
|
},
|
|
24279
|
+
{
|
|
24280
|
+
name: "declaration",
|
|
24281
|
+
shortName: "d",
|
|
24282
|
+
type: "boolean",
|
|
24283
|
+
affectsBuildInfo: true,
|
|
24284
|
+
showInSimplifiedHelpView: true,
|
|
24285
|
+
category: Diagnostics.Emit,
|
|
24286
|
+
transpileOptionValue: void 0,
|
|
24287
|
+
description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,
|
|
24288
|
+
defaultValueDescription: Diagnostics.false_unless_composite_is_set
|
|
24289
|
+
},
|
|
24290
|
+
{
|
|
24291
|
+
name: "declarationMap",
|
|
24292
|
+
type: "boolean",
|
|
24293
|
+
affectsBuildInfo: true,
|
|
24294
|
+
showInSimplifiedHelpView: true,
|
|
24295
|
+
category: Diagnostics.Emit,
|
|
24296
|
+
transpileOptionValue: void 0,
|
|
24297
|
+
defaultValueDescription: false,
|
|
24298
|
+
description: Diagnostics.Create_sourcemaps_for_d_ts_files
|
|
24299
|
+
},
|
|
24300
|
+
{
|
|
24301
|
+
name: "emitDeclarationOnly",
|
|
24302
|
+
type: "boolean",
|
|
24303
|
+
affectsBuildInfo: true,
|
|
24304
|
+
showInSimplifiedHelpView: true,
|
|
24305
|
+
category: Diagnostics.Emit,
|
|
24306
|
+
description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,
|
|
24307
|
+
transpileOptionValue: void 0,
|
|
24308
|
+
defaultValueDescription: false
|
|
24309
|
+
},
|
|
24310
|
+
{
|
|
24311
|
+
name: "sourceMap",
|
|
24312
|
+
type: "boolean",
|
|
24313
|
+
affectsBuildInfo: true,
|
|
24314
|
+
showInSimplifiedHelpView: true,
|
|
24315
|
+
category: Diagnostics.Emit,
|
|
24316
|
+
defaultValueDescription: false,
|
|
24317
|
+
description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files
|
|
24318
|
+
},
|
|
24319
|
+
{
|
|
24320
|
+
name: "inlineSourceMap",
|
|
24321
|
+
type: "boolean",
|
|
24322
|
+
affectsBuildInfo: true,
|
|
24323
|
+
category: Diagnostics.Emit,
|
|
24324
|
+
description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,
|
|
24325
|
+
defaultValueDescription: false
|
|
24326
|
+
},
|
|
24278
24327
|
{
|
|
24279
24328
|
name: "assumeChangesOnlyAffectDirectDependencies",
|
|
24280
24329
|
type: "boolean",
|
|
24281
24330
|
affectsSemanticDiagnostics: true,
|
|
24282
24331
|
affectsEmit: true,
|
|
24283
|
-
|
|
24332
|
+
affectsBuildInfo: true,
|
|
24284
24333
|
category: Diagnostics.Watch_and_Build_Modes,
|
|
24285
24334
|
description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,
|
|
24286
24335
|
defaultValueDescription: false
|
|
@@ -24314,7 +24363,7 @@ var targetOptionDeclaration = {
|
|
|
24314
24363
|
affectsSourceFile: true,
|
|
24315
24364
|
affectsModuleResolution: true,
|
|
24316
24365
|
affectsEmit: true,
|
|
24317
|
-
|
|
24366
|
+
affectsBuildInfo: true,
|
|
24318
24367
|
paramType: Diagnostics.VERSION,
|
|
24319
24368
|
showInSimplifiedHelpView: true,
|
|
24320
24369
|
category: Diagnostics.Language_and_Environment,
|
|
@@ -24340,7 +24389,7 @@ var moduleOptionDeclaration = {
|
|
|
24340
24389
|
})),
|
|
24341
24390
|
affectsModuleResolution: true,
|
|
24342
24391
|
affectsEmit: true,
|
|
24343
|
-
|
|
24392
|
+
affectsBuildInfo: true,
|
|
24344
24393
|
paramType: Diagnostics.KIND,
|
|
24345
24394
|
showInSimplifiedHelpView: true,
|
|
24346
24395
|
category: Diagnostics.Modules,
|
|
@@ -24447,7 +24496,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24447
24496
|
type: jsxOptionMap,
|
|
24448
24497
|
affectsSourceFile: true,
|
|
24449
24498
|
affectsEmit: true,
|
|
24450
|
-
|
|
24499
|
+
affectsBuildInfo: true,
|
|
24451
24500
|
affectsModuleResolution: true,
|
|
24452
24501
|
paramType: Diagnostics.KIND,
|
|
24453
24502
|
showInSimplifiedHelpView: true,
|
|
@@ -24455,57 +24504,12 @@ var commandOptionsWithoutBuild = [
|
|
|
24455
24504
|
description: Diagnostics.Specify_what_JSX_code_is_generated,
|
|
24456
24505
|
defaultValueDescription: void 0
|
|
24457
24506
|
},
|
|
24458
|
-
{
|
|
24459
|
-
name: "declaration",
|
|
24460
|
-
shortName: "d",
|
|
24461
|
-
type: "boolean",
|
|
24462
|
-
affectsEmit: true,
|
|
24463
|
-
affectsMultiFileEmitBuildInfo: true,
|
|
24464
|
-
showInSimplifiedHelpView: true,
|
|
24465
|
-
category: Diagnostics.Emit,
|
|
24466
|
-
transpileOptionValue: void 0,
|
|
24467
|
-
description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,
|
|
24468
|
-
defaultValueDescription: Diagnostics.false_unless_composite_is_set
|
|
24469
|
-
},
|
|
24470
|
-
{
|
|
24471
|
-
name: "declarationMap",
|
|
24472
|
-
type: "boolean",
|
|
24473
|
-
affectsEmit: true,
|
|
24474
|
-
affectsMultiFileEmitBuildInfo: true,
|
|
24475
|
-
showInSimplifiedHelpView: true,
|
|
24476
|
-
category: Diagnostics.Emit,
|
|
24477
|
-
transpileOptionValue: void 0,
|
|
24478
|
-
defaultValueDescription: false,
|
|
24479
|
-
description: Diagnostics.Create_sourcemaps_for_d_ts_files
|
|
24480
|
-
},
|
|
24481
|
-
{
|
|
24482
|
-
name: "emitDeclarationOnly",
|
|
24483
|
-
type: "boolean",
|
|
24484
|
-
affectsEmit: true,
|
|
24485
|
-
affectsMultiFileEmitBuildInfo: true,
|
|
24486
|
-
showInSimplifiedHelpView: true,
|
|
24487
|
-
category: Diagnostics.Emit,
|
|
24488
|
-
description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,
|
|
24489
|
-
transpileOptionValue: void 0,
|
|
24490
|
-
defaultValueDescription: false
|
|
24491
|
-
},
|
|
24492
|
-
{
|
|
24493
|
-
name: "sourceMap",
|
|
24494
|
-
type: "boolean",
|
|
24495
|
-
affectsEmit: true,
|
|
24496
|
-
affectsMultiFileEmitBuildInfo: true,
|
|
24497
|
-
showInSimplifiedHelpView: true,
|
|
24498
|
-
category: Diagnostics.Emit,
|
|
24499
|
-
defaultValueDescription: false,
|
|
24500
|
-
description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files
|
|
24501
|
-
},
|
|
24502
24507
|
{
|
|
24503
24508
|
name: "outFile",
|
|
24504
24509
|
type: "string",
|
|
24505
24510
|
affectsEmit: true,
|
|
24506
|
-
|
|
24511
|
+
affectsBuildInfo: true,
|
|
24507
24512
|
affectsDeclarationPath: true,
|
|
24508
|
-
affectsBundleEmitBuildInfo: true,
|
|
24509
24513
|
isFilePath: true,
|
|
24510
24514
|
paramType: Diagnostics.FILE,
|
|
24511
24515
|
showInSimplifiedHelpView: true,
|
|
@@ -24517,7 +24521,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24517
24521
|
name: "outDir",
|
|
24518
24522
|
type: "string",
|
|
24519
24523
|
affectsEmit: true,
|
|
24520
|
-
|
|
24524
|
+
affectsBuildInfo: true,
|
|
24521
24525
|
affectsDeclarationPath: true,
|
|
24522
24526
|
isFilePath: true,
|
|
24523
24527
|
paramType: Diagnostics.DIRECTORY,
|
|
@@ -24529,7 +24533,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24529
24533
|
name: "rootDir",
|
|
24530
24534
|
type: "string",
|
|
24531
24535
|
affectsEmit: true,
|
|
24532
|
-
|
|
24536
|
+
affectsBuildInfo: true,
|
|
24533
24537
|
affectsDeclarationPath: true,
|
|
24534
24538
|
isFilePath: true,
|
|
24535
24539
|
paramType: Diagnostics.LOCATION,
|
|
@@ -24540,9 +24544,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24540
24544
|
{
|
|
24541
24545
|
name: "composite",
|
|
24542
24546
|
type: "boolean",
|
|
24543
|
-
|
|
24544
|
-
affectsMultiFileEmitBuildInfo: true,
|
|
24545
|
-
affectsBundleEmitBuildInfo: true,
|
|
24547
|
+
affectsBuildInfo: true,
|
|
24546
24548
|
isTSConfigOnly: true,
|
|
24547
24549
|
category: Diagnostics.Projects,
|
|
24548
24550
|
transpileOptionValue: void 0,
|
|
@@ -24553,8 +24555,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24553
24555
|
name: "tsBuildInfoFile",
|
|
24554
24556
|
type: "string",
|
|
24555
24557
|
affectsEmit: true,
|
|
24556
|
-
|
|
24557
|
-
affectsBundleEmitBuildInfo: true,
|
|
24558
|
+
affectsBuildInfo: true,
|
|
24558
24559
|
isFilePath: true,
|
|
24559
24560
|
paramType: Diagnostics.FILE,
|
|
24560
24561
|
category: Diagnostics.Projects,
|
|
@@ -24566,7 +24567,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24566
24567
|
name: "removeComments",
|
|
24567
24568
|
type: "boolean",
|
|
24568
24569
|
affectsEmit: true,
|
|
24569
|
-
|
|
24570
|
+
affectsBuildInfo: true,
|
|
24570
24571
|
showInSimplifiedHelpView: true,
|
|
24571
24572
|
category: Diagnostics.Emit,
|
|
24572
24573
|
defaultValueDescription: false,
|
|
@@ -24585,7 +24586,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24585
24586
|
name: "importHelpers",
|
|
24586
24587
|
type: "boolean",
|
|
24587
24588
|
affectsEmit: true,
|
|
24588
|
-
|
|
24589
|
+
affectsBuildInfo: true,
|
|
24589
24590
|
category: Diagnostics.Emit,
|
|
24590
24591
|
description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,
|
|
24591
24592
|
defaultValueDescription: false
|
|
@@ -24599,7 +24600,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24599
24600
|
})),
|
|
24600
24601
|
affectsEmit: true,
|
|
24601
24602
|
affectsSemanticDiagnostics: true,
|
|
24602
|
-
|
|
24603
|
+
affectsBuildInfo: true,
|
|
24603
24604
|
category: Diagnostics.Emit,
|
|
24604
24605
|
description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,
|
|
24605
24606
|
defaultValueDescription: 0 /* Remove */
|
|
@@ -24608,7 +24609,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24608
24609
|
name: "downlevelIteration",
|
|
24609
24610
|
type: "boolean",
|
|
24610
24611
|
affectsEmit: true,
|
|
24611
|
-
|
|
24612
|
+
affectsBuildInfo: true,
|
|
24612
24613
|
category: Diagnostics.Emit,
|
|
24613
24614
|
description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,
|
|
24614
24615
|
defaultValueDescription: false
|
|
@@ -24624,7 +24625,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24624
24625
|
{
|
|
24625
24626
|
name: "strict",
|
|
24626
24627
|
type: "boolean",
|
|
24627
|
-
|
|
24628
|
+
affectsBuildInfo: true,
|
|
24628
24629
|
showInSimplifiedHelpView: true,
|
|
24629
24630
|
category: Diagnostics.Type_Checking,
|
|
24630
24631
|
description: Diagnostics.Enable_all_strict_type_checking_options,
|
|
@@ -24634,7 +24635,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24634
24635
|
name: "noImplicitAny",
|
|
24635
24636
|
type: "boolean",
|
|
24636
24637
|
affectsSemanticDiagnostics: true,
|
|
24637
|
-
|
|
24638
|
+
affectsBuildInfo: true,
|
|
24638
24639
|
strictFlag: true,
|
|
24639
24640
|
category: Diagnostics.Type_Checking,
|
|
24640
24641
|
description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,
|
|
@@ -24644,7 +24645,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24644
24645
|
name: "strictNullChecks",
|
|
24645
24646
|
type: "boolean",
|
|
24646
24647
|
affectsSemanticDiagnostics: true,
|
|
24647
|
-
|
|
24648
|
+
affectsBuildInfo: true,
|
|
24648
24649
|
strictFlag: true,
|
|
24649
24650
|
category: Diagnostics.Type_Checking,
|
|
24650
24651
|
description: Diagnostics.When_type_checking_take_into_account_null_and_undefined,
|
|
@@ -24654,7 +24655,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24654
24655
|
name: "strictFunctionTypes",
|
|
24655
24656
|
type: "boolean",
|
|
24656
24657
|
affectsSemanticDiagnostics: true,
|
|
24657
|
-
|
|
24658
|
+
affectsBuildInfo: true,
|
|
24658
24659
|
strictFlag: true,
|
|
24659
24660
|
category: Diagnostics.Type_Checking,
|
|
24660
24661
|
description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,
|
|
@@ -24664,7 +24665,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24664
24665
|
name: "strictBindCallApply",
|
|
24665
24666
|
type: "boolean",
|
|
24666
24667
|
affectsSemanticDiagnostics: true,
|
|
24667
|
-
|
|
24668
|
+
affectsBuildInfo: true,
|
|
24668
24669
|
strictFlag: true,
|
|
24669
24670
|
category: Diagnostics.Type_Checking,
|
|
24670
24671
|
description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,
|
|
@@ -24674,7 +24675,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24674
24675
|
name: "strictPropertyInitialization",
|
|
24675
24676
|
type: "boolean",
|
|
24676
24677
|
affectsSemanticDiagnostics: true,
|
|
24677
|
-
|
|
24678
|
+
affectsBuildInfo: true,
|
|
24678
24679
|
strictFlag: true,
|
|
24679
24680
|
category: Diagnostics.Type_Checking,
|
|
24680
24681
|
description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,
|
|
@@ -24684,7 +24685,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24684
24685
|
name: "noImplicitThis",
|
|
24685
24686
|
type: "boolean",
|
|
24686
24687
|
affectsSemanticDiagnostics: true,
|
|
24687
|
-
|
|
24688
|
+
affectsBuildInfo: true,
|
|
24688
24689
|
strictFlag: true,
|
|
24689
24690
|
category: Diagnostics.Type_Checking,
|
|
24690
24691
|
description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any,
|
|
@@ -24694,7 +24695,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24694
24695
|
name: "useUnknownInCatchVariables",
|
|
24695
24696
|
type: "boolean",
|
|
24696
24697
|
affectsSemanticDiagnostics: true,
|
|
24697
|
-
|
|
24698
|
+
affectsBuildInfo: true,
|
|
24698
24699
|
strictFlag: true,
|
|
24699
24700
|
category: Diagnostics.Type_Checking,
|
|
24700
24701
|
description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any,
|
|
@@ -24705,7 +24706,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24705
24706
|
type: "boolean",
|
|
24706
24707
|
affectsSourceFile: true,
|
|
24707
24708
|
affectsEmit: true,
|
|
24708
|
-
|
|
24709
|
+
affectsBuildInfo: true,
|
|
24709
24710
|
strictFlag: true,
|
|
24710
24711
|
category: Diagnostics.Type_Checking,
|
|
24711
24712
|
description: Diagnostics.Ensure_use_strict_is_always_emitted,
|
|
@@ -24715,7 +24716,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24715
24716
|
name: "noUnusedLocals",
|
|
24716
24717
|
type: "boolean",
|
|
24717
24718
|
affectsSemanticDiagnostics: true,
|
|
24718
|
-
|
|
24719
|
+
affectsBuildInfo: true,
|
|
24719
24720
|
category: Diagnostics.Type_Checking,
|
|
24720
24721
|
description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read,
|
|
24721
24722
|
defaultValueDescription: false
|
|
@@ -24724,7 +24725,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24724
24725
|
name: "noUnusedParameters",
|
|
24725
24726
|
type: "boolean",
|
|
24726
24727
|
affectsSemanticDiagnostics: true,
|
|
24727
|
-
|
|
24728
|
+
affectsBuildInfo: true,
|
|
24728
24729
|
category: Diagnostics.Type_Checking,
|
|
24729
24730
|
description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,
|
|
24730
24731
|
defaultValueDescription: false
|
|
@@ -24733,7 +24734,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24733
24734
|
name: "exactOptionalPropertyTypes",
|
|
24734
24735
|
type: "boolean",
|
|
24735
24736
|
affectsSemanticDiagnostics: true,
|
|
24736
|
-
|
|
24737
|
+
affectsBuildInfo: true,
|
|
24737
24738
|
category: Diagnostics.Type_Checking,
|
|
24738
24739
|
description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined,
|
|
24739
24740
|
defaultValueDescription: false
|
|
@@ -24742,7 +24743,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24742
24743
|
name: "noImplicitReturns",
|
|
24743
24744
|
type: "boolean",
|
|
24744
24745
|
affectsSemanticDiagnostics: true,
|
|
24745
|
-
|
|
24746
|
+
affectsBuildInfo: true,
|
|
24746
24747
|
category: Diagnostics.Type_Checking,
|
|
24747
24748
|
description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,
|
|
24748
24749
|
defaultValueDescription: false
|
|
@@ -24752,7 +24753,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24752
24753
|
type: "boolean",
|
|
24753
24754
|
affectsBindDiagnostics: true,
|
|
24754
24755
|
affectsSemanticDiagnostics: true,
|
|
24755
|
-
|
|
24756
|
+
affectsBuildInfo: true,
|
|
24756
24757
|
category: Diagnostics.Type_Checking,
|
|
24757
24758
|
description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,
|
|
24758
24759
|
defaultValueDescription: false
|
|
@@ -24761,7 +24762,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24761
24762
|
name: "noUncheckedIndexedAccess",
|
|
24762
24763
|
type: "boolean",
|
|
24763
24764
|
affectsSemanticDiagnostics: true,
|
|
24764
|
-
|
|
24765
|
+
affectsBuildInfo: true,
|
|
24765
24766
|
category: Diagnostics.Type_Checking,
|
|
24766
24767
|
description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index,
|
|
24767
24768
|
defaultValueDescription: false
|
|
@@ -24770,7 +24771,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24770
24771
|
name: "noImplicitOverride",
|
|
24771
24772
|
type: "boolean",
|
|
24772
24773
|
affectsSemanticDiagnostics: true,
|
|
24773
|
-
|
|
24774
|
+
affectsBuildInfo: true,
|
|
24774
24775
|
category: Diagnostics.Type_Checking,
|
|
24775
24776
|
description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,
|
|
24776
24777
|
defaultValueDescription: false
|
|
@@ -24779,7 +24780,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24779
24780
|
name: "noPropertyAccessFromIndexSignature",
|
|
24780
24781
|
type: "boolean",
|
|
24781
24782
|
affectsSemanticDiagnostics: true,
|
|
24782
|
-
|
|
24783
|
+
affectsBuildInfo: true,
|
|
24783
24784
|
showInSimplifiedHelpView: false,
|
|
24784
24785
|
category: Diagnostics.Type_Checking,
|
|
24785
24786
|
description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,
|
|
@@ -24860,7 +24861,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24860
24861
|
name: "allowSyntheticDefaultImports",
|
|
24861
24862
|
type: "boolean",
|
|
24862
24863
|
affectsSemanticDiagnostics: true,
|
|
24863
|
-
|
|
24864
|
+
affectsBuildInfo: true,
|
|
24864
24865
|
category: Diagnostics.Interop_Constraints,
|
|
24865
24866
|
description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,
|
|
24866
24867
|
defaultValueDescription: Diagnostics.module_system_or_esModuleInterop
|
|
@@ -24870,7 +24871,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24870
24871
|
type: "boolean",
|
|
24871
24872
|
affectsSemanticDiagnostics: true,
|
|
24872
24873
|
affectsEmit: true,
|
|
24873
|
-
|
|
24874
|
+
affectsBuildInfo: true,
|
|
24874
24875
|
showInSimplifiedHelpView: true,
|
|
24875
24876
|
category: Diagnostics.Interop_Constraints,
|
|
24876
24877
|
description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,
|
|
@@ -24887,7 +24888,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24887
24888
|
name: "allowUmdGlobalAccess",
|
|
24888
24889
|
type: "boolean",
|
|
24889
24890
|
affectsSemanticDiagnostics: true,
|
|
24890
|
-
|
|
24891
|
+
affectsBuildInfo: true,
|
|
24891
24892
|
category: Diagnostics.Modules,
|
|
24892
24893
|
description: Diagnostics.Allow_accessing_UMD_globals_from_modules,
|
|
24893
24894
|
defaultValueDescription: false
|
|
@@ -24908,7 +24909,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24908
24909
|
name: "sourceRoot",
|
|
24909
24910
|
type: "string",
|
|
24910
24911
|
affectsEmit: true,
|
|
24911
|
-
|
|
24912
|
+
affectsBuildInfo: true,
|
|
24912
24913
|
paramType: Diagnostics.LOCATION,
|
|
24913
24914
|
category: Diagnostics.Emit,
|
|
24914
24915
|
description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code
|
|
@@ -24917,25 +24918,16 @@ var commandOptionsWithoutBuild = [
|
|
|
24917
24918
|
name: "mapRoot",
|
|
24918
24919
|
type: "string",
|
|
24919
24920
|
affectsEmit: true,
|
|
24920
|
-
|
|
24921
|
+
affectsBuildInfo: true,
|
|
24921
24922
|
paramType: Diagnostics.LOCATION,
|
|
24922
24923
|
category: Diagnostics.Emit,
|
|
24923
24924
|
description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations
|
|
24924
24925
|
},
|
|
24925
|
-
{
|
|
24926
|
-
name: "inlineSourceMap",
|
|
24927
|
-
type: "boolean",
|
|
24928
|
-
affectsEmit: true,
|
|
24929
|
-
affectsMultiFileEmitBuildInfo: true,
|
|
24930
|
-
category: Diagnostics.Emit,
|
|
24931
|
-
description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,
|
|
24932
|
-
defaultValueDescription: false
|
|
24933
|
-
},
|
|
24934
24926
|
{
|
|
24935
24927
|
name: "inlineSources",
|
|
24936
24928
|
type: "boolean",
|
|
24937
24929
|
affectsEmit: true,
|
|
24938
|
-
|
|
24930
|
+
affectsBuildInfo: true,
|
|
24939
24931
|
category: Diagnostics.Emit,
|
|
24940
24932
|
description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,
|
|
24941
24933
|
defaultValueDescription: false
|
|
@@ -24944,7 +24936,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24944
24936
|
name: "experimentalDecorators",
|
|
24945
24937
|
type: "boolean",
|
|
24946
24938
|
affectsSemanticDiagnostics: true,
|
|
24947
|
-
|
|
24939
|
+
affectsBuildInfo: true,
|
|
24948
24940
|
category: Diagnostics.Language_and_Environment,
|
|
24949
24941
|
description: Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators,
|
|
24950
24942
|
defaultValueDescription: false
|
|
@@ -24954,7 +24946,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24954
24946
|
type: "boolean",
|
|
24955
24947
|
affectsSemanticDiagnostics: true,
|
|
24956
24948
|
affectsEmit: true,
|
|
24957
|
-
|
|
24949
|
+
affectsBuildInfo: true,
|
|
24958
24950
|
category: Diagnostics.Language_and_Environment,
|
|
24959
24951
|
description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files,
|
|
24960
24952
|
defaultValueDescription: false
|
|
@@ -24978,7 +24970,7 @@ var commandOptionsWithoutBuild = [
|
|
|
24978
24970
|
type: "string",
|
|
24979
24971
|
affectsSemanticDiagnostics: true,
|
|
24980
24972
|
affectsEmit: true,
|
|
24981
|
-
|
|
24973
|
+
affectsBuildInfo: true,
|
|
24982
24974
|
affectsModuleResolution: true,
|
|
24983
24975
|
category: Diagnostics.Language_and_Environment,
|
|
24984
24976
|
description: Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,
|
|
@@ -24996,9 +24988,8 @@ var commandOptionsWithoutBuild = [
|
|
|
24996
24988
|
name: "out",
|
|
24997
24989
|
type: "string",
|
|
24998
24990
|
affectsEmit: true,
|
|
24999
|
-
|
|
24991
|
+
affectsBuildInfo: true,
|
|
25000
24992
|
affectsDeclarationPath: true,
|
|
25001
|
-
affectsBundleEmitBuildInfo: true,
|
|
25002
24993
|
isFilePath: false,
|
|
25003
24994
|
category: Diagnostics.Backwards_Compatibility,
|
|
25004
24995
|
paramType: Diagnostics.FILE,
|
|
@@ -25009,7 +25000,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25009
25000
|
name: "reactNamespace",
|
|
25010
25001
|
type: "string",
|
|
25011
25002
|
affectsEmit: true,
|
|
25012
|
-
|
|
25003
|
+
affectsBuildInfo: true,
|
|
25013
25004
|
category: Diagnostics.Language_and_Environment,
|
|
25014
25005
|
description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,
|
|
25015
25006
|
defaultValueDescription: "`React`"
|
|
@@ -25017,7 +25008,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25017
25008
|
{
|
|
25018
25009
|
name: "skipDefaultLibCheck",
|
|
25019
25010
|
type: "boolean",
|
|
25020
|
-
|
|
25011
|
+
affectsBuildInfo: true,
|
|
25021
25012
|
category: Diagnostics.Completeness,
|
|
25022
25013
|
description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,
|
|
25023
25014
|
defaultValueDescription: false
|
|
@@ -25033,7 +25024,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25033
25024
|
name: "emitBOM",
|
|
25034
25025
|
type: "boolean",
|
|
25035
25026
|
affectsEmit: true,
|
|
25036
|
-
|
|
25027
|
+
affectsBuildInfo: true,
|
|
25037
25028
|
category: Diagnostics.Emit,
|
|
25038
25029
|
description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,
|
|
25039
25030
|
defaultValueDescription: false
|
|
@@ -25045,7 +25036,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25045
25036
|
lf: 1 /* LineFeed */
|
|
25046
25037
|
})),
|
|
25047
25038
|
affectsEmit: true,
|
|
25048
|
-
|
|
25039
|
+
affectsBuildInfo: true,
|
|
25049
25040
|
paramType: Diagnostics.NEWLINE,
|
|
25050
25041
|
category: Diagnostics.Emit,
|
|
25051
25042
|
description: Diagnostics.Set_the_newline_character_for_emitting_files,
|
|
@@ -25055,7 +25046,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25055
25046
|
name: "noErrorTruncation",
|
|
25056
25047
|
type: "boolean",
|
|
25057
25048
|
affectsSemanticDiagnostics: true,
|
|
25058
|
-
|
|
25049
|
+
affectsBuildInfo: true,
|
|
25059
25050
|
category: Diagnostics.Output_Formatting,
|
|
25060
25051
|
description: Diagnostics.Disable_truncating_types_in_error_messages,
|
|
25061
25052
|
defaultValueDescription: false
|
|
@@ -25082,7 +25073,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25082
25073
|
name: "stripInternal",
|
|
25083
25074
|
type: "boolean",
|
|
25084
25075
|
affectsEmit: true,
|
|
25085
|
-
|
|
25076
|
+
affectsBuildInfo: true,
|
|
25086
25077
|
category: Diagnostics.Emit,
|
|
25087
25078
|
description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,
|
|
25088
25079
|
defaultValueDescription: false
|
|
@@ -25123,7 +25114,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25123
25114
|
name: "noImplicitUseStrict",
|
|
25124
25115
|
type: "boolean",
|
|
25125
25116
|
affectsSemanticDiagnostics: true,
|
|
25126
|
-
|
|
25117
|
+
affectsBuildInfo: true,
|
|
25127
25118
|
category: Diagnostics.Backwards_Compatibility,
|
|
25128
25119
|
description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,
|
|
25129
25120
|
defaultValueDescription: false
|
|
@@ -25132,7 +25123,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25132
25123
|
name: "noEmitHelpers",
|
|
25133
25124
|
type: "boolean",
|
|
25134
25125
|
affectsEmit: true,
|
|
25135
|
-
|
|
25126
|
+
affectsBuildInfo: true,
|
|
25136
25127
|
category: Diagnostics.Emit,
|
|
25137
25128
|
description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,
|
|
25138
25129
|
defaultValueDescription: false
|
|
@@ -25141,7 +25132,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25141
25132
|
name: "noEmitOnError",
|
|
25142
25133
|
type: "boolean",
|
|
25143
25134
|
affectsEmit: true,
|
|
25144
|
-
|
|
25135
|
+
affectsBuildInfo: true,
|
|
25145
25136
|
category: Diagnostics.Emit,
|
|
25146
25137
|
transpileOptionValue: void 0,
|
|
25147
25138
|
description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,
|
|
@@ -25151,7 +25142,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25151
25142
|
name: "preserveConstEnums",
|
|
25152
25143
|
type: "boolean",
|
|
25153
25144
|
affectsEmit: true,
|
|
25154
|
-
|
|
25145
|
+
affectsBuildInfo: true,
|
|
25155
25146
|
category: Diagnostics.Emit,
|
|
25156
25147
|
description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,
|
|
25157
25148
|
defaultValueDescription: false
|
|
@@ -25160,7 +25151,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25160
25151
|
name: "declarationDir",
|
|
25161
25152
|
type: "string",
|
|
25162
25153
|
affectsEmit: true,
|
|
25163
|
-
|
|
25154
|
+
affectsBuildInfo: true,
|
|
25164
25155
|
affectsDeclarationPath: true,
|
|
25165
25156
|
isFilePath: true,
|
|
25166
25157
|
paramType: Diagnostics.DIRECTORY,
|
|
@@ -25171,7 +25162,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25171
25162
|
{
|
|
25172
25163
|
name: "skipLibCheck",
|
|
25173
25164
|
type: "boolean",
|
|
25174
|
-
|
|
25165
|
+
affectsBuildInfo: true,
|
|
25175
25166
|
category: Diagnostics.Completeness,
|
|
25176
25167
|
description: Diagnostics.Skip_type_checking_all_d_ts_files,
|
|
25177
25168
|
defaultValueDescription: false
|
|
@@ -25181,7 +25172,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25181
25172
|
type: "boolean",
|
|
25182
25173
|
affectsBindDiagnostics: true,
|
|
25183
25174
|
affectsSemanticDiagnostics: true,
|
|
25184
|
-
|
|
25175
|
+
affectsBuildInfo: true,
|
|
25185
25176
|
category: Diagnostics.Type_Checking,
|
|
25186
25177
|
description: Diagnostics.Disable_error_reporting_for_unused_labels,
|
|
25187
25178
|
defaultValueDescription: void 0
|
|
@@ -25191,7 +25182,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25191
25182
|
type: "boolean",
|
|
25192
25183
|
affectsBindDiagnostics: true,
|
|
25193
25184
|
affectsSemanticDiagnostics: true,
|
|
25194
|
-
|
|
25185
|
+
affectsBuildInfo: true,
|
|
25195
25186
|
category: Diagnostics.Type_Checking,
|
|
25196
25187
|
description: Diagnostics.Disable_error_reporting_for_unreachable_code,
|
|
25197
25188
|
defaultValueDescription: void 0
|
|
@@ -25200,7 +25191,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25200
25191
|
name: "suppressExcessPropertyErrors",
|
|
25201
25192
|
type: "boolean",
|
|
25202
25193
|
affectsSemanticDiagnostics: true,
|
|
25203
|
-
|
|
25194
|
+
affectsBuildInfo: true,
|
|
25204
25195
|
category: Diagnostics.Backwards_Compatibility,
|
|
25205
25196
|
description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,
|
|
25206
25197
|
defaultValueDescription: false
|
|
@@ -25209,7 +25200,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25209
25200
|
name: "suppressImplicitAnyIndexErrors",
|
|
25210
25201
|
type: "boolean",
|
|
25211
25202
|
affectsSemanticDiagnostics: true,
|
|
25212
|
-
|
|
25203
|
+
affectsBuildInfo: true,
|
|
25213
25204
|
category: Diagnostics.Backwards_Compatibility,
|
|
25214
25205
|
description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,
|
|
25215
25206
|
defaultValueDescription: false
|
|
@@ -25234,7 +25225,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25234
25225
|
name: "noStrictGenericChecks",
|
|
25235
25226
|
type: "boolean",
|
|
25236
25227
|
affectsSemanticDiagnostics: true,
|
|
25237
|
-
|
|
25228
|
+
affectsBuildInfo: true,
|
|
25238
25229
|
category: Diagnostics.Backwards_Compatibility,
|
|
25239
25230
|
description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,
|
|
25240
25231
|
defaultValueDescription: false
|
|
@@ -25244,7 +25235,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25244
25235
|
type: "boolean",
|
|
25245
25236
|
affectsSemanticDiagnostics: true,
|
|
25246
25237
|
affectsEmit: true,
|
|
25247
|
-
|
|
25238
|
+
affectsBuildInfo: true,
|
|
25248
25239
|
category: Diagnostics.Language_and_Environment,
|
|
25249
25240
|
description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,
|
|
25250
25241
|
defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext
|
|
@@ -25253,7 +25244,7 @@ var commandOptionsWithoutBuild = [
|
|
|
25253
25244
|
name: "preserveValueImports",
|
|
25254
25245
|
type: "boolean",
|
|
25255
25246
|
affectsEmit: true,
|
|
25256
|
-
|
|
25247
|
+
affectsBuildInfo: true,
|
|
25257
25248
|
category: Diagnostics.Emit,
|
|
25258
25249
|
description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,
|
|
25259
25250
|
defaultValueDescription: false
|
|
@@ -31833,7 +31824,8 @@ var BuilderState;
|
|
|
31833
31824
|
var _a2, _b, _c;
|
|
31834
31825
|
const fileInfos = new Map();
|
|
31835
31826
|
const options = newProgram.getCompilerOptions();
|
|
31836
|
-
const
|
|
31827
|
+
const isOutFile = outFile(options);
|
|
31828
|
+
const referencedMap = options.module !== 0 /* None */ && !isOutFile ? createManyToManyPathMap() : void 0;
|
|
31837
31829
|
const exportedModulesMap = referencedMap ? createManyToManyPathMap() : void 0;
|
|
31838
31830
|
const useOldState = canReuseOldState(referencedMap, oldState);
|
|
31839
31831
|
newProgram.getTypeChecker();
|
|
@@ -31857,7 +31849,7 @@ var BuilderState;
|
|
|
31857
31849
|
fileInfos.set(sourceFile.resolvedPath, {
|
|
31858
31850
|
version: version2,
|
|
31859
31851
|
signature,
|
|
31860
|
-
affectsGlobalScope: isFileAffectingGlobalScope(sourceFile) || void 0,
|
|
31852
|
+
affectsGlobalScope: !isOutFile ? isFileAffectingGlobalScope(sourceFile) || void 0 : void 0,
|
|
31861
31853
|
impliedFormat: sourceFile.impliedNodeFormat
|
|
31862
31854
|
});
|
|
31863
31855
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "5.0.0-pr-
|
|
5
|
+
"version": "5.0.0-pr-51157-8",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|