typescript 4.9.0-dev.20220813 → 4.9.0-dev.20220816
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/cs/diagnosticMessages.generated.json +1 -0
- package/lib/de/diagnosticMessages.generated.json +1 -0
- package/lib/es/diagnosticMessages.generated.json +1 -0
- package/lib/fr/diagnosticMessages.generated.json +1 -0
- package/lib/it/diagnosticMessages.generated.json +1 -0
- package/lib/ja/diagnosticMessages.generated.json +1 -0
- package/lib/ko/diagnosticMessages.generated.json +1 -0
- package/lib/lib.es5.d.ts +4 -6
- package/lib/pl/diagnosticMessages.generated.json +1 -0
- package/lib/pt-br/diagnosticMessages.generated.json +1 -0
- package/lib/ru/diagnosticMessages.generated.json +1 -0
- package/lib/tr/diagnosticMessages.generated.json +1 -0
- package/lib/tsc.js +20 -13
- package/lib/tsserver.js +95 -62
- package/lib/tsserverlibrary.js +95 -62
- package/lib/typescript.js +95 -62
- package/lib/typescriptServices.js +95 -62
- package/lib/typingsInstaller.js +23 -13
- package/lib/zh-cn/diagnosticMessages.generated.json +1 -0
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -0
- package/package.json +2 -1
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "Projekt {0} je zastaralý, protože výstupní soubor {1} neexistuje.",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "Projekt {0} je zastaralý, protože jeho výstup se vygeneroval pomocí verze {1}, která se liší od aktuální verze {2}.",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "Projekt {0} je zastaralý, protože se změnil výstup jeho závislosti {1}.",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "Projekt {0} je zastaralý, protože při čtení souboru {1} došlo k chybě.",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "Projekt {0} je aktuální.",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "Projekt {0} je aktuální, protože nejnovější vstup {1} je starší než výstup {2}.",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "Projekt {0} je aktuální, ale musí aktualizovat časová razítka výstupních souborů, které jsou starší než vstupní soubory.",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "Projekt \"{0}\" ist veraltet, weil die Ausgabedatei \"{1}\" nicht vorhanden ist.",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "Das Projekt \"{0}\" ist veraltet, weil die Ausgabe für das Projekt mit Version {1} generiert wurde, die sich von der aktuellen Version {2} unterscheidet.",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "Das Projekt \"{0}\" ist veraltet, weil sich die zugehörige Abhängigkeit \"{1}\" geändert hat.",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "Das Projekt \"{0}\" ist veraltet, weil beim Lesen der Datei \"{1}\" ein Fehler aufgetreten ist.",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "Projekt \"{0}\" ist auf dem neuesten Stand.",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "Projekt \"{0}\" ist auf dem neuesten Stand, weil die neueste Eingabe \"{1}\" älter ist als die Ausgabe \"{2}\".",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "Das Projekt \"{0}\" ist aktuell, muss jedoch Zeitstempel von Ausgabedateien aktualisieren, die älter als Eingabedateien sind.",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "El proyecto \"{0}\" está obsoleto porque el archivo de salida \"{1}\" no existe",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "El proyecto \"{0}\" está obsoleto porque su salida se generó con la versión \"{1}\", que es distinta a la versión actual \"{2}\".",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "El proyecto \"{0}\" está obsoleto porque la salida de su dependencia \"{1}\" ha cambiado.",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "El proyecto \"{0}\" no está actualizado porque se produjo un error al leer el archivo \"{1}\"",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "El proyecto \"{0}\" está actualizado",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "El proyecto \"{0}\" está actualizado porque la entrada más reciente \"{1}\" es anterior a la salida \"{2}\"",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "El proyecto \"{0}\" está actualizado, pero debe actualizar las marcas de tiempo de los archivos de salida anteriores a los archivos de entrada",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "Le projet '{0}' est obsolète car le fichier de sortie '{1}' n'existe pas",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "Le projet '{0}' est obsolète, car sa sortie a été générée avec la version '{1}', qui diffère de la version actuelle '{2}'",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "Le projet '{0}' est obsolète, car la sortie de sa dépendance '{1}' a changé",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "Le projet « {0} » est obsolète car une erreur s'est produite lors de la lecture du fichier « {1} »",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "Le projet '{0}' est à jour",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "Le projet « {0} » est à jour car l'entrée la plus récente (« {1} ») est antérieure à la sortie (« {2} »)",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "Project « {0} » est à jour, mais doit mettre à jour les horodatages des fichiers de sortie plus anciens que les fichiers d’entrée",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "Il progetto '{0}' non è aggiornato perché il file di output '{1}' non esiste",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "Il progetto '{0}' non è aggiornato perché l'output per il progetto è stato generato con la versione '{1}' che non corrisponde alla versione corrente '{2}'",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "Il progetto '{0}' non è aggiornato perché l'output della relativa dipendenza '{1}' è cambiato",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "Il progetto '{0}' non è aggiornato perché si è verificato un errore durante la lettura del file '{1}'",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "Il progetto '{0}' è aggiornato",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "Il progetto '{0}' è aggiornato perché l'input più recente '{1}' è meno recente dell'output '{2}'",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "Project '{0}' è aggiornato ma deve aggiornare i timestamp dei file di output precedenti ai file di input",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "プロジェクト '{0}' は出力ファイル '{1}' が存在しないため最新の状態ではありません",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "プロジェクト '{0}' の出力が現在のバージョン '{2}' と異なるバージョン '{1}' で生成されているため、このプロジェクトは最新の状態ではありません",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "依存関係 '{1}' の出力が変更されているため、プロジェクト '{0}' は最新の状態ではありません",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "ファイル '{1}' の読み取り中にエラーが発生したため、プロジェクト '{0}' は最新ではありません",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "プロジェクト '{0}' は最新の状態です",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "プロジェクト '{0}' は最新の入力 '{1}' が出力 '{2}' より古いため最新の状態です",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "プロジェクト '{0}' は最新ですが、入力ファイルよりも古い出力ファイルのタイムスタンプを更新する必要があります",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "'{1}' 출력 파일이 존재하지 않기 때문에 '{0}' 프로젝트가 최신 상태가 아닙니다.",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "'{0}' 프로젝트의 출력이 현재 버전 '{2}'과(와) 다른 '{1}' 버전으로 생성되었기 때문에 이 프로젝트가 최신 상태가 아닙니다.",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "'{1}' 종속성의 출력이 변경되었기 때문에 '{0}' 프로젝트가 최신 상태가 아닙니다.",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "'{1}' 파일을 읽는 동안 오류가 발생하여 프로젝트 '{0}'이(가) 만료되었습니다.",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "'{0}' 프로젝트가 최신 상태입니다.",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "최신 입력 '{1}'이(가) 출력 '{2}'보다 오래되었기 때문에 '{0}' 프로젝트가 최신 상태입니다.",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "프로젝트 '{0}'이(가) 최신 상태이지만 입력 파일보다 오래된 출력 파일의 타임스탬프를 업데이트해야 합니다.",
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -214,12 +214,6 @@ interface ObjectConstructor {
|
|
|
214
214
|
*/
|
|
215
215
|
seal<T>(o: T): T;
|
|
216
216
|
|
|
217
|
-
/**
|
|
218
|
-
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
219
|
-
* @param a Object on which to lock the attributes.
|
|
220
|
-
*/
|
|
221
|
-
freeze<T>(a: T[]): readonly T[];
|
|
222
|
-
|
|
223
217
|
/**
|
|
224
218
|
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
225
219
|
* @param f Object on which to lock the attributes.
|
|
@@ -951,6 +945,10 @@ interface RegExpMatchArray extends Array<string> {
|
|
|
951
945
|
* A copy of the search string.
|
|
952
946
|
*/
|
|
953
947
|
input?: string;
|
|
948
|
+
/**
|
|
949
|
+
* The first match. This will always be present because `null` will be returned if there are no matches.
|
|
950
|
+
*/
|
|
951
|
+
0: string;
|
|
954
952
|
}
|
|
955
953
|
|
|
956
954
|
interface RegExpExecArray extends Array<string> {
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "Projekt „{0}” jest nieaktualny, ponieważ plik wyjściowy „{1}” nie istnieje",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "Projekt „{0}” jest nieaktualny, ponieważ jego dane wyjściowe zostały wygenerowane w wersji „{1}”, która różni się od bieżącej wersji „{2}”",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "Projekt „{0}” jest nieaktualny, ponieważ dane wyjściowe jego zależności „{1}” uległy zmianie",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "Projekt „{0}” jest nieaktualny, ponieważ wystąpił błąd podczas odczytywania pliku „{1}”",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "Projekt „{0}” jest aktualny",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "Projekt „{0}” jest aktualny, ponieważ najnowsze dane wejściowe „{1}” są starsze niż dane wyjściowe „{2}”",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "Projekt „{0}” jest aktualny, ale musi zaktualizować sygnatury czasowe plików wyjściowych, które są starsze niż pliki wejściowe",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "O projeto '{0}' está desatualizado porque o arquivo de saída '{1}' não existe",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "O projeto '{0}' está desatualizado porque a saída foi gerada com a versão '{1}' que difere da versão atual '{2}'",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "O projeto '{0}' está desatualizado porque a saída de sua dependência '{1}' foi alterada",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "O projeto '{0}' está desatualizado porque ocorreu um erro ao ler o arquivo '{1}'",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "O projeto '{0}' está atualizado",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "O projeto '{0}' está atualizado porque a entrada mais recente '{1}' é mais antiga que a saída '{2}'",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "O projeto '{0}' está atualizado, mas precisa atualizar os registros de data e hora dos arquivos de saída mais antigos que os arquivos de entrada",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "Проект \"{0}\" требует обновления, так как выходного файла \"{1}\" не существует",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "Проект \"{0}\" устарел, так как выходные данные для него были созданы с помощью версии \"{1}\", которая отличается от текущей версии \"{2}\"",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "Проект \"{0}\" устарел, так как изменились выходные данные его зависимости \"{1}\"",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "Проект \"{0}\" устарел из-за ошибки при чтении файла \"{1}\"",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "Проект \"{0}\" не требует обновления",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "Проект \"{0}\" актуален, так как новейшие входные данные \"{1}\" старше выходных данных \"{2}\".",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "Проект \"{0}\" актуален, но требуется обновить метки времени файлов вывода, которые старше файлов ввода.",
|
|
@@ -1103,6 +1103,7 @@
|
|
|
1103
1103
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "Çıkış dosyası '{1}' mevcut olmadığından '{0}' projesi güncel değil",
|
|
1104
1104
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "'{0}' projesinin çıkışı geçerli '{2}' sürümünden farklı olan '{1}' sürümü ile oluşturulduğundan proje güncel değil",
|
|
1105
1105
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "'{0}' projesinin '{1}' bağımlılığı değiştirildiğinden proje güncel değil",
|
|
1106
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "'{1}' dosyası okunurken hata oluştuğu için '{0}' projesi güncel değil",
|
|
1106
1107
|
"Project_0_is_up_to_date_6361": "'{0}' projesi güncel",
|
|
1107
1108
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "En yeni '{1}' girişi '{2}' çıkışından daha eski olduğundan '{0}' projesi güncel",
|
|
1108
1109
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "'{0}' projesi güncel ancak giriş dosyalarından daha eski olan çıkış dosyalarına ait zaman damgalarının güncelleştirilmesi gerekiyor",
|
package/lib/tsc.js
CHANGED
|
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
69
69
|
var ts;
|
|
70
70
|
(function (ts) {
|
|
71
71
|
ts.versionMajorMinor = "4.9";
|
|
72
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
72
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220816";
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
var globals = typeof globalThis !== "undefined" ? globalThis :
|
|
@@ -1005,6 +1005,10 @@ var ts;
|
|
|
1005
1005
|
: undefined;
|
|
1006
1006
|
}
|
|
1007
1007
|
ts.singleOrUndefined = singleOrUndefined;
|
|
1008
|
+
function single(array) {
|
|
1009
|
+
return ts.Debug.checkDefined(singleOrUndefined(array));
|
|
1010
|
+
}
|
|
1011
|
+
ts.single = single;
|
|
1008
1012
|
function singleOrMany(array) {
|
|
1009
1013
|
return array && array.length === 1
|
|
1010
1014
|
? array[0]
|
|
@@ -4456,7 +4460,6 @@ var ts;
|
|
|
4456
4460
|
ts.sys = (function () {
|
|
4457
4461
|
var byteOrderMarkIndicator = "\uFEFF";
|
|
4458
4462
|
function getNodeSystem() {
|
|
4459
|
-
var _a;
|
|
4460
4463
|
var nativePattern = /^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/;
|
|
4461
4464
|
var _fs = require("fs");
|
|
4462
4465
|
var _path = require("path");
|
|
@@ -4465,7 +4468,7 @@ var ts;
|
|
|
4465
4468
|
try {
|
|
4466
4469
|
_crypto = require("crypto");
|
|
4467
4470
|
}
|
|
4468
|
-
catch (
|
|
4471
|
+
catch (_a) {
|
|
4469
4472
|
_crypto = undefined;
|
|
4470
4473
|
}
|
|
4471
4474
|
var activeSession;
|
|
@@ -4476,10 +4479,10 @@ var ts;
|
|
|
4476
4479
|
var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
|
|
4477
4480
|
var platform = _os.platform();
|
|
4478
4481
|
var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
|
|
4479
|
-
var
|
|
4482
|
+
var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
|
|
4480
4483
|
var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
|
|
4481
4484
|
var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
|
|
4482
|
-
var
|
|
4485
|
+
var _b = createSystemWatchFunctions({
|
|
4483
4486
|
pollingWatchFile: createSingleFileWatcherPerName(fsWatchFileWorker, useCaseSensitiveFileNames),
|
|
4484
4487
|
getModifiedTime: getModifiedTime,
|
|
4485
4488
|
setTimeout: setTimeout,
|
|
@@ -4497,7 +4500,7 @@ var ts;
|
|
|
4497
4500
|
defaultWatchFileKind: function () { var _a, _b; return (_b = (_a = sys).defaultWatchFileKind) === null || _b === void 0 ? void 0 : _b.call(_a); },
|
|
4498
4501
|
inodeWatching: isLinuxOrMacOs,
|
|
4499
4502
|
sysLog: sysLog,
|
|
4500
|
-
}), watchFile =
|
|
4503
|
+
}), watchFile = _b.watchFile, watchDirectory = _b.watchDirectory;
|
|
4501
4504
|
var nodeSystem = {
|
|
4502
4505
|
args: process.argv.slice(2),
|
|
4503
4506
|
newLine: _os.EOL,
|
|
@@ -4847,9 +4850,12 @@ var ts;
|
|
|
4847
4850
|
function getDirectories(path) {
|
|
4848
4851
|
return getAccessibleFileSystemEntries(path).directories.slice();
|
|
4849
4852
|
}
|
|
4853
|
+
function fsRealPathHandlingLongPath(path) {
|
|
4854
|
+
return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
|
|
4855
|
+
}
|
|
4850
4856
|
function realpath(path) {
|
|
4851
4857
|
try {
|
|
4852
|
-
return
|
|
4858
|
+
return fsRealpath(path);
|
|
4853
4859
|
}
|
|
4854
4860
|
catch (_a) {
|
|
4855
4861
|
return path;
|
|
@@ -6057,7 +6063,7 @@ var ts;
|
|
|
6057
6063
|
Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig: diag(2591, ts.DiagnosticCategory.Error, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591", "Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),
|
|
6058
6064
|
Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig: diag(2592, ts.DiagnosticCategory.Error, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592", "Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),
|
|
6059
6065
|
Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig: diag(2593, ts.DiagnosticCategory.Error, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593", "Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),
|
|
6060
|
-
|
|
6066
|
+
This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag: diag(2594, ts.DiagnosticCategory.Error, "This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594", "This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),
|
|
6061
6067
|
_0_can_only_be_imported_by_using_a_default_import: diag(2595, ts.DiagnosticCategory.Error, "_0_can_only_be_imported_by_using_a_default_import_2595", "'{0}' can only be imported by using a default import."),
|
|
6062
6068
|
_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: diag(2596, ts.DiagnosticCategory.Error, "_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596", "'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),
|
|
6063
6069
|
_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import: diag(2597, ts.DiagnosticCategory.Error, "_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597", "'{0}' can only be imported by using a 'require' call or by using a default import."),
|
|
@@ -14165,7 +14171,7 @@ var ts;
|
|
|
14165
14171
|
}
|
|
14166
14172
|
diagnostics = nonFileDiagnostics;
|
|
14167
14173
|
}
|
|
14168
|
-
ts.insertSorted(diagnostics, diagnostic,
|
|
14174
|
+
ts.insertSorted(diagnostics, diagnostic, compareDiagnosticsSkipRelatedInformation);
|
|
14169
14175
|
}
|
|
14170
14176
|
function getGlobalDiagnostics() {
|
|
14171
14177
|
hasReadNonFileDiagnostics = true;
|
|
@@ -41937,7 +41943,7 @@ var ts;
|
|
|
41937
41943
|
var exportAssignment = exportEqualsSymbol.valueDeclaration;
|
|
41938
41944
|
var err = error(node.name, ts.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag, symbolToString(moduleSymbol), compilerOptionName);
|
|
41939
41945
|
if (exportAssignment) {
|
|
41940
|
-
ts.addRelatedInfo(err, ts.createDiagnosticForNode(exportAssignment, ts.Diagnostics.
|
|
41946
|
+
ts.addRelatedInfo(err, ts.createDiagnosticForNode(exportAssignment, ts.Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag, compilerOptionName));
|
|
41941
41947
|
}
|
|
41942
41948
|
}
|
|
41943
41949
|
else {
|
|
@@ -54827,7 +54833,8 @@ var ts;
|
|
|
54827
54833
|
return 0;
|
|
54828
54834
|
}
|
|
54829
54835
|
}
|
|
54830
|
-
var isPerformingCommonPropertyChecks = relation !== comparableRelation &&
|
|
54836
|
+
var isPerformingCommonPropertyChecks = (relation !== comparableRelation || relation === comparableRelation && isLiteralType(source)) &&
|
|
54837
|
+
!(intersectionState & 2) &&
|
|
54831
54838
|
source.flags & (131068 | 524288 | 2097152) && source !== globalObjectType &&
|
|
54832
54839
|
target.flags & (524288 | 2097152) && isWeakType(target) &&
|
|
54833
54840
|
(getPropertiesOfType(source).length > 0 || typeHasCallOrConstructSignatures(source));
|
|
@@ -55474,7 +55481,7 @@ var ts;
|
|
|
55474
55481
|
if (reportErrors && originalErrorInfo) {
|
|
55475
55482
|
resetErrorInfo(saveErrorInfo);
|
|
55476
55483
|
}
|
|
55477
|
-
if (result = isRelatedTo(source, constraint, 2, reportErrors)) {
|
|
55484
|
+
if (result = isRelatedTo(source, constraint, 2, reportErrors, undefined, intersectionState)) {
|
|
55478
55485
|
return result;
|
|
55479
55486
|
}
|
|
55480
55487
|
if (reportErrors && originalErrorInfo && errorInfo) {
|
|
@@ -56923,7 +56930,7 @@ var ts;
|
|
|
56923
56930
|
if (!isLiteralOfContextualType(type, contextualType)) {
|
|
56924
56931
|
type = getWidenedUniqueESSymbolType(getWidenedLiteralType(type));
|
|
56925
56932
|
}
|
|
56926
|
-
return type;
|
|
56933
|
+
return getRegularTypeOfLiteralType(type);
|
|
56927
56934
|
}
|
|
56928
56935
|
function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(type, contextualSignatureReturnType, isAsync) {
|
|
56929
56936
|
if (type && isUnitType(type)) {
|