typescript 5.1.0-dev.20230330 → 5.1.0-dev.20230401

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.
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.1";
57
- var version = `${versionMajorMinor}.0-dev.20230330`;
57
+ var version = `${versionMajorMinor}.0-dev.20230401`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -3488,7 +3488,7 @@ function createDynamicPriorityPollingWatchFile(host) {
3488
3488
  queue.pollScheduled = false;
3489
3489
  return queue;
3490
3490
  }
3491
- function pollPollingIntervalQueue(queue) {
3491
+ function pollPollingIntervalQueue(_timeoutType, queue) {
3492
3492
  queue.pollIndex = pollQueue(queue, queue.pollingInterval, queue.pollIndex, pollingChunkSize[queue.pollingInterval]);
3493
3493
  if (queue.length) {
3494
3494
  scheduleNextPoll(queue.pollingInterval);
@@ -3497,7 +3497,7 @@ function createDynamicPriorityPollingWatchFile(host) {
3497
3497
  queue.pollScheduled = false;
3498
3498
  }
3499
3499
  }
3500
- function pollLowPollingIntervalQueue(queue) {
3500
+ function pollLowPollingIntervalQueue(_timeoutType, queue) {
3501
3501
  pollQueue(
3502
3502
  changedFilesInLastPoll,
3503
3503
  250 /* Low */,
@@ -3505,7 +3505,7 @@ function createDynamicPriorityPollingWatchFile(host) {
3505
3505
  0,
3506
3506
  changedFilesInLastPoll.length
3507
3507
  );
3508
- pollPollingIntervalQueue(queue);
3508
+ pollPollingIntervalQueue(_timeoutType, queue);
3509
3509
  if (!queue.pollScheduled && changedFilesInLastPoll.length) {
3510
3510
  scheduleNextPoll(250 /* Low */);
3511
3511
  }
@@ -3562,7 +3562,7 @@ function createDynamicPriorityPollingWatchFile(host) {
3562
3562
  }
3563
3563
  }
3564
3564
  function scheduleNextPoll(pollingInterval) {
3565
- pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 /* Low */ ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingIntervalQueue(pollingInterval));
3565
+ pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 /* Low */ ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingInterval === 250 /* Low */ ? "pollLowPollingIntervalQueue" : "pollPollingIntervalQueue", pollingIntervalQueue(pollingInterval));
3566
3566
  }
3567
3567
  }
3568
3568
  function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames) {
@@ -3641,7 +3641,7 @@ function createFixedChunkSizePollingWatchFile(host) {
3641
3641
  function scheduleNextPoll() {
3642
3642
  if (!watchedFiles.length || pollScheduled)
3643
3643
  return;
3644
- pollScheduled = host.setTimeout(pollQueue, 2e3 /* High */);
3644
+ pollScheduled = host.setTimeout(pollQueue, 2e3 /* High */, "pollQueue");
3645
3645
  }
3646
3646
  }
3647
3647
  function createSingleWatcherPerName(cache, useCaseSensitiveFileNames, name, callback, createWatcher) {
@@ -3809,7 +3809,7 @@ function createDirectoryWatcherSupportingRecursive({
3809
3809
  clearTimeout2(timerToUpdateChildWatches);
3810
3810
  timerToUpdateChildWatches = void 0;
3811
3811
  }
3812
- timerToUpdateChildWatches = setTimeout2(onTimerToUpdateChildWatches, 1e3);
3812
+ timerToUpdateChildWatches = setTimeout2(onTimerToUpdateChildWatches, 1e3, "timerToUpdateChildWatches");
3813
3813
  }
3814
3814
  function onTimerToUpdateChildWatches() {
3815
3815
  timerToUpdateChildWatches = void 0;
@@ -5596,7 +5596,6 @@ var Diagnostics = {
5596
5596
  Constructors_for_derived_classes_must_contain_a_super_call: diag(2377, 1 /* Error */, "Constructors_for_derived_classes_must_contain_a_super_call_2377", "Constructors for derived classes must contain a 'super' call."),
5597
5597
  A_get_accessor_must_return_a_value: diag(2378, 1 /* Error */, "A_get_accessor_must_return_a_value_2378", "A 'get' accessor must return a value."),
5598
5598
  Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties: diag(2379, 1 /* Error */, "Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379", "Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),
5599
- The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type: diag(2380, 1 /* Error */, "The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380", "The return type of a 'get' accessor must be assignable to its 'set' accessor type"),
5600
5599
  Overload_signatures_must_all_be_exported_or_non_exported: diag(2383, 1 /* Error */, "Overload_signatures_must_all_be_exported_or_non_exported_2383", "Overload signatures must all be exported or non-exported."),
5601
5600
  Overload_signatures_must_all_be_ambient_or_non_ambient: diag(2384, 1 /* Error */, "Overload_signatures_must_all_be_ambient_or_non_ambient_2384", "Overload signatures must all be ambient or non-ambient."),
5602
5601
  Overload_signatures_must_all_be_public_private_or_protected: diag(2385, 1 /* Error */, "Overload_signatures_must_all_be_public_private_or_protected_2385", "Overload signatures must all be public, private or protected."),
@@ -26193,7 +26192,8 @@ var commandOptionsWithoutBuild = [
26193
26192
  affectsBuildInfo: true,
26194
26193
  category: Diagnostics.Modules,
26195
26194
  description: Diagnostics.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,
26196
- defaultValueDescription: false
26195
+ defaultValueDescription: false,
26196
+ transpileOptionValue: void 0
26197
26197
  },
26198
26198
  {
26199
26199
  name: "resolvePackageJsonExports",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.1.0-dev.20230330",
5
+ "version": "5.1.0-dev.20230401",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -113,5 +113,5 @@
113
113
  "node": "14.21.1",
114
114
  "npm": "8.19.3"
115
115
  },
116
- "gitHead": "7bde5efe9431f6b7029a612b71a90896a07444b5"
116
+ "gitHead": "27d3454f07cb41a24275d7f1de07621b8217f739"
117
117
  }