typescript 4.6.0-dev.20220123 → 4.6.0-dev.20220127

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.
@@ -89,7 +89,8 @@
89
89
  "A_set_accessor_must_have_exactly_one_parameter_1049": "Un accesseur 'set' doit avoir un seul paramètre.",
90
90
  "A_set_accessor_parameter_cannot_have_an_initializer_1052": "Un paramètre d'accesseur 'set' ne peut pas avoir d'initialiseur.",
91
91
  "A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556": "Un argument d’engraissement doit soit avoir un type de tuple, soit être passé à un paramètre REST.",
92
- "A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376": "Un appel de 'super' doit être la première instruction du constructeur quand une classe contient des propriétés initialisées, des propriétés de paramètre ou des identificateurs privés.",
92
+ "A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401": "Un appel « super » doit être une instruction de niveau racine dans un constructeur d’une classe dérivée qui contient des propriétés initialisées, des propriétés de paramètre ou des identificateurs privés.",
93
+ "A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376": "Un appel 'super' doit être la première instruction du constructeur à faire référence à « super » ou « this » lorsqu’une classe dérivée contient des propriétés initialisées, des propriétés de paramètre ou des identificateurs privés.",
93
94
  "A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518": "Une protection de type basée sur 'this' n'est pas compatible avec une protection de type basée sur des paramètres.",
94
95
  "A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526": "Un type 'this' est disponible uniquement dans un membre non statique d'une classe ou d'une interface.",
95
96
  "A_tsconfig_json_file_is_already_defined_at_Colon_0_5054": "Un fichier 'tsconfig.json' est déjà défini à l'emplacement '{0}'.",
@@ -227,7 +228,7 @@
227
228
  "An_iterator_must_have_a_next_method_2489": "Un itérateur doit comporter une méthode 'next()'.",
228
229
  "An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017": "Un pragma @jsxFrag est nécessaire quand un pragma @jsx est utilisé avec des fragments JSX.",
229
230
  "An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118": "Un littéral d'objet ne peut pas avoir plusieurs accesseurs get/set portant le même nom.",
230
- "An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117": "Un littéral d'objet ne peut pas avoir plusieurs propriétés portant le même nom en mode strict.",
231
+ "An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117": "Un littéral d’objet ne peut pas avoir plusieurs propriétés portant le même nom.",
231
232
  "An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119": "Un littéral d'objet ne peut pas avoir une propriété et un accesseur portant le même nom.",
232
233
  "An_object_member_cannot_be_declared_optional_1162": "Impossible de déclarer un membre d'objet comme étant facultatif.",
233
234
  "An_optional_chain_cannot_contain_private_identifiers_18030": "Une chaîne facultative ne peut pas contenir d'identificateurs privés.",
@@ -314,6 +315,7 @@
314
315
  "Cannot_find_name_0_Did_you_mean_1_2552": "Le nom '{0}' est introuvable. Est-ce qu'il ne s'agit pas plutôt de '{1}' ?",
315
316
  "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "Le nom '{0}' est introuvable. Voulez-vous utiliser le membre d'instance 'this.{0}' ?",
316
317
  "Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662": "Le nom '{0}' est introuvable. Voulez-vous utiliser le membre statique '{1}.{0}' ?",
318
+ "Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311": "Le nom « {0} » est introuvable. Voulez-vous écrire ceci dans une fonction asynchrone ?",
317
319
  "Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583": "Le nom '{0}' est introuvable. Devez-vous changer votre bibliothèque cible ? Essayez de changer l'option de compilateur 'lib' en '{1}' ou une version ultérieure.",
318
320
  "Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584": "Le nom '{0}' est introuvable. Devez-vous changer votre bibliothèque cible ? Essayez de remplacer l'option de compilateur 'lib' pour inclure 'dom'.",
319
321
  "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582": "Le nom '{0}' est introuvable. Devez-vous installer des définitions de type pour un exécuteur de tests ? Essayez 'npm i --save-dev @types/jest' ou 'npm i --save-dev @types/mocha'.",
@@ -387,6 +389,7 @@
387
389
  "Compiler_option_0_expects_an_argument_6044": "L'option de compilateur '{0}' attend an argument.",
388
390
  "Compiler_option_0_may_not_be_used_with_build_5094": "L’option '--{0}' du compilateur ne peut pas être utilisée avec '--build'.",
389
391
  "Compiler_option_0_may_only_be_used_with_build_5093": "Option du compilateur '--{0}' ne peut être utilisée qu’avec '--build'.",
392
+ "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124": "L’option de compilateur « {0} » de la valeur «{1}» est instable. Utilisez TypeScript nocturne pour désactiver cette erreur. Essayez de mettre à jour avec « npm install -D typescript@next ».",
390
393
  "Compiler_option_0_requires_a_value_of_type_1_5024": "L'option de compilateur '{0}' exige une valeur de type {1}.",
391
394
  "Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027": "Le compilateur réserve le nom '{0}' quand il émet un identificateur privé pour une version antérieure.",
392
395
  "Compiles_the_TypeScript_project_located_at_the_specified_path_6927": "Compile le projet TypeScript situé au chemin d’accès spécifié.",
@@ -565,7 +568,7 @@
565
568
  "Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "Le spécificateur de l'importation dynamique doit être de type 'string', mais ici il est de type '{0}'.",
566
569
  "Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323": "Les importations dynamiques sont prises en charge uniquement lorsque l’indicateur « --module » est défini sur « es2020 », « es2022 », « esnext », « commonjs », « amd », « system », « umd », « node12 » ou « nodenext ».",
567
570
  "Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450": "Les importations dynamiques peuvent accepter uniquement un spécificateur de module et une assertion facultative en tant qu’arguments.",
568
- "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324": "Les importations dynamiques prennent uniquement en charge un deuxième argument lorsque l’option « --module » a la valeur « esnext ».",
571
+ "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324": "Les importations dynamiques prennent uniquement en charge un deuxième argument lorsque l’option « --module » a la valeur « esnext » ou « nodenext ».",
569
572
  "Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "Chaque membre du type union '{0}' a des signatures de construction, mais aucune de ces signatures n'est compatible avec les autres.",
570
573
  "Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758": "Chaque membre du type union '{0}' a des signatures, mais aucune de ces signatures n'est compatible avec les autres.",
571
574
  "Editor_Support_6249": "Prise en charge de l’Éditeur",
@@ -623,6 +626,7 @@
623
626
  "Enum_member_must_have_initializer_1061": "Un membre enum doit posséder un initialiseur.",
624
627
  "Enum_name_cannot_be_0_2431": "Le nom d'enum ne peut pas être '{0}'.",
625
628
  "Enum_type_0_has_members_with_initializers_that_are_not_literals_2535": "Le type enum '{0}' a des membres dont les initialiseurs ne sont pas des littéraux.",
629
+ "Errors_Files_6041": "Fichiers d’erreurs",
626
630
  "Examples_Colon_0_6026": "Exemples : {0}",
627
631
  "Excessive_stack_depth_comparing_types_0_and_1_2321": "Profondeur excessive de la pile pour la comparaison des types '{0}' et '{1}'.",
628
632
  "Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027": "Arguments de type {0}-{1} attendus ; indiquez-les avec la balise '@extends'.",
@@ -708,8 +712,11 @@
708
712
  "For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "Les boucles « for await » ne peuvent pas être utilisées à l’intérieur d’un bloc statique de classe.",
709
713
  "Found_0_errors_6217": "{0} erreurs trouvées.",
710
714
  "Found_0_errors_Watching_for_file_changes_6194": "{0} erreurs trouvées. Changements de fichier sous surveillance.",
715
+ "Found_0_errors_in_1_files_6261": "Erreurs {0} trouvées dans les fichiers {1} .",
716
+ "Found_0_errors_in_the_same_file_starting_at_Colon_1_6260": "Erreurs {0} trouvées dans le même fichier, à partir de : {1}",
711
717
  "Found_1_error_6216": "1 erreur trouvée.",
712
718
  "Found_1_error_Watching_for_file_changes_6193": "1 erreur trouvée. Changements de fichier sous surveillance.",
719
+ "Found_1_error_in_1_6259": "1 erreur trouvée dans {1}",
713
720
  "Found_package_json_at_0_6099": "'package.json' trouvé sur '{0}'.",
714
721
  "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250": "Les déclarations de fonction ne sont pas autorisées dans les blocs en mode strict durant le ciblage de la version 'ES3' ou 'ES5'.",
715
722
  "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251": "Les déclarations de fonction ne sont pas autorisées dans les blocs en mode strict durant le ciblage de la version 'ES3' ou 'ES5'. Les définitions de classe sont automatiquement en mode strict.",
@@ -764,7 +771,9 @@
764
771
  "Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "La clause implements de la classe exportée '{0}' possède ou utilise le nom privé '{1}'.",
765
772
  "Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "La conversion implicite de 'symbol' en 'string' va échouer au moment de l'exécution. Incluez dans un wrapper cette expression en 'String(...)'.",
766
773
  "Import_0_from_module_1_90013": "Importer '{0}' à partir du module \"{1}\"",
767
- "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821": "Les assertions d’importation sont prises en charge uniquement lorsque l’option « --module » a la valeur « esnext ».",
774
+ "Import_assertion_values_must_be_string_literal_expressions_2837": "Les valeurs d’assertion d’importation doivent être des expressions littérales de chaîne.",
775
+ "Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836": "Les assertions d’importation ne sont pas autorisées sur les instructions qui transpilent en appels commonjs « require ».",
776
+ "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821": "Les assertions d’importation ne sont prises en charge que lorsque l’option « --module » a la valeur « esnext » ou « nodenext ».",
768
777
  "Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822": "Les assertions d’importation ne peuvent pas être utilisées avec les importations ou exportations de type uniquement.",
769
778
  "Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202": "Vous ne pouvez pas utiliser l'assignation d'importation pour cibler des modules ECMAScript. Utilisez plutôt 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"' ou un autre format de module.",
770
779
  "Import_declaration_0_is_using_private_name_1_4000": "La déclaration d'importation '{0}' utilise le nom privé '{1}'.",
@@ -790,6 +799,7 @@
790
799
  "Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644": "Incluez le code source dans les images sources à l’intérieur du Code JavaScript émis.",
791
800
  "Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "Incluez les fichiers sourcemap à l’intérieur du Code JavaScript émis.",
792
801
  "Include_undefined_in_index_signature_results_6716": "Inclure 'undefined' dans les résultats de la signature d'index",
802
+ "Includes_imports_of_types_referenced_by_0_90054": "Inclut les importations de types référencés par « {0} »",
793
803
  "Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "En incluant --watch, -w commence à regarder le projet actuel pour les modifications apportées au fichier. Une fois défini, vous pouvez configurer le mode espion avec :",
794
804
  "Index_signature_for_type_0_is_missing_in_type_1_2329": "La signature d’index pour le type « {0} » est manquante dans le type « {1} ».",
795
805
  "Index_signature_in_type_0_only_permits_reading_2542": "La signature d'index du type '{0}' autorise uniquement la lecture.",
@@ -1144,6 +1154,8 @@
1144
1154
  "Referenced_project_0_may_not_disable_emit_6310": "Le projet référencé '{0}' ne doit pas désactiver l'émission.",
1145
1155
  "Referenced_project_0_must_have_setting_composite_Colon_true_6306": "Le projet référencé '{0}' doit avoir le paramètre \"composite\" avec la valeur true.",
1146
1156
  "Referenced_via_0_from_file_1_1400": "Référencé(e) via '{0}' à partir du fichier '{1}'",
1157
+ "Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834": "Les chemins d’importation relatifs nécessitent des extensions de fichier explicites dans les importations EcmaScript quand « --moduleResolution » est « node12 » ou « nodenext ». Envisagez d’ajouter une extension au chemin d’importation.",
1158
+ "Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835": "Les chemins d’importation relatifs ont besoin d’extensions de fichier explicites dans les importations EcmaScript quand « --moduleResolution » est « node12 » ou « nodenext ». Voulez-vous dire « {0} » ?",
1147
1159
  "Remove_a_list_of_directories_from_the_watch_process_6628": "Supprimez une liste de répertoires du processus d’observation.",
1148
1160
  "Remove_a_list_of_files_from_the_watch_mode_s_processing_6629": "Supprimez une liste de fichiers du traitement du mode espion.",
1149
1161
  "Remove_all_unnecessary_override_modifiers_95163": "Supprimer tous les modificateurs 'override' inutiles",
@@ -1706,6 +1718,7 @@
1706
1718
  "baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106": "L'option 'baseUrl' a la valeur '{0}'. Utilisation de cette valeur pour la résolution du nom de module non relatif '{1}'.",
1707
1719
  "can_only_be_used_at_the_start_of_a_file_18026": "'#!' peut uniquement être utilisé au début d'un fichier.",
1708
1720
  "case_or_default_expected_1130": "'case' ou 'default' attendu.",
1721
+ "catch_or_finally_expected_1472": "« Catch » ou « finally » attendu.",
1709
1722
  "const_declarations_can_only_be_declared_inside_a_block_1156": "Les déclarations 'const' ne peuvent être déclarées que dans un bloc.",
1710
1723
  "const_declarations_must_be_initialized_1155": "Les déclarations 'const' doivent être initialisées.",
1711
1724
  "const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "L'initialiseur de membre enum 'const' donne une valeur non finie.",
@@ -89,7 +89,8 @@
89
89
  "A_set_accessor_must_have_exactly_one_parameter_1049": "'set' 접근자에는 매개 변수를 하나만 사용해야 합니다.",
90
90
  "A_set_accessor_parameter_cannot_have_an_initializer_1052": "'set' 접근자 매개 변수에는 이니셜라이저를 사용할 수 없습니다.",
91
91
  "A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556": "확산 인수는 튜플 유형을 가지거나 나머지 매개 변수로 전달되어야 합니다.",
92
- "A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376": "클래스에 초기화된 속성, 매개 변수 속성 또는 프라이빗 식별자가 있으면 'super' 호출이 생성자에서 첫 번째 문이어야 합니다.",
92
+ "A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401": "'super' 호출은 초기화된 속성, 매개 변수 속성 또는 개인 식별자를 포함하는 파생 클래스의 생성자 내에서 루트 수준 문이어야 합니다.",
93
+ "A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376": "파생 클래스에 초기화된 속성, 매개 변수 속성 또는 개인 식별자가 포함된 경우 'super' 호출은 '수퍼' 또는 'this'를 참조하는 생성자의 첫 번째 명령문이어야 합니다.",
93
94
  "A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518": "'this' 기반 형식 가드는 매개 변수 기반 형식 가드와 호환되지 않습니다.",
94
95
  "A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526": "'this' 형식은 클래스 또는 인터페이스의 비정적 멤버에서만 사용할 수 있습니다.",
95
96
  "A_tsconfig_json_file_is_already_defined_at_Colon_0_5054": "'tsconfig.json' 파일이 이미 '{0}'에 정의되어 있습니다.",
@@ -227,7 +228,7 @@
227
228
  "An_iterator_must_have_a_next_method_2489": "반복기에는 'next()' 메서드가 있어야 합니다.",
228
229
  "An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017": "@jsx pragma를 JSX 조각과 함께 사용하는 경우에는 @jsxFrag pragma가 필요합니다.",
229
230
  "An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118": "개체 리터럴에 이름이 같은 여러 개의 get/set 접근자를 사용할 수 없습니다.",
230
- "An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117": "strict 모드에서는 개체 리터럴에 이름이 같은 여러 개의 속성을 사용할 수 없습니다.",
231
+ "An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117": "개체 리터럴은 이름이 같은 여러 속성을 가질 수 없습니다.",
231
232
  "An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119": "개체 리터럴에 이름이 같은 속성과 접근자를 사용할 수 없습니다.",
232
233
  "An_object_member_cannot_be_declared_optional_1162": "개체 멤버는 선택적으로 선언될 수 없습니다.",
233
234
  "An_optional_chain_cannot_contain_private_identifiers_18030": "선택적 체인에는 프라이빗 식별자를 사용할 수 없습니다.",
@@ -314,6 +315,7 @@
314
315
  "Cannot_find_name_0_Did_you_mean_1_2552": "'{0}' 이름을 찾을 수 없습니다. '{1}'을(를) 사용하시겠습니까?",
315
316
  "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "'{0}' 이름을 찾을 수 없습니다. 인스턴스 멤버 'this.{0}'을(를) 사용하시겠습니까?",
316
317
  "Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662": "'{0}' 이름을 찾을 수 없습니다. 정적 멤버 '{1}.{0}'을(를) 사용하시겠습니까?",
318
+ "Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311": "이름 '{0}' 찾을 수 없습니다. 비동기 함수에 쓰려고 했나요?",
317
319
  "Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583": "'{0}' 이름을 찾을 수 없습니다. 대상 라이브러리를 변경하려는 경우 'lib' 컴파일러 옵션을 '{1}' 이상으로 변경해 보세요.",
318
320
  "Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584": "'{0}' 이름을 찾을 수 없습니다. 대상 라이브러리를 변경하려는 경우 'dom'을 포함하도록 'lib' 컴파일러 옵션을 변경해 보세요.",
319
321
  "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582": "'{0}' 이름을 찾을 수 없습니다. 테스트 실행기의 형식 정의를 설치하려는 경우 'npm i --save-dev @types/jest' 또는 'npm i --save-dev @types/mocha'를 시도합니다.",
@@ -387,6 +389,7 @@
387
389
  "Compiler_option_0_expects_an_argument_6044": "컴파일러 옵션 '{0}'에는 인수가 필요합니다.",
388
390
  "Compiler_option_0_may_not_be_used_with_build_5094": "컴파일러 옵션 '--{0}'은(는) '-빌드'에서 사용되지 않을 수 있습니다.",
389
391
  "Compiler_option_0_may_only_be_used_with_build_5093": "컴파일러 옵션 '--{0}'은(는) '-빌드'에서만 사용할 수 있습니다.",
392
+ "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124": "값 '{1}'의 컴파일러 옵션 '{0}'이(가) 불안정합니다. 야간 TypeScript를 사용하여 이 오류를 차단하세요. 'npm install -D typescript@next'로 업데이트해 보세요.",
390
393
  "Compiler_option_0_requires_a_value_of_type_1_5024": "컴파일러 옵션 '{0}'에 {1} 형식의 값이 필요합니다.",
391
394
  "Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027": "컴파일러는 프라이빗 식별자 하위 수준을 내보낼 때 '{0}' 이름을 예약합니다.",
392
395
  "Compiles_the_TypeScript_project_located_at_the_specified_path_6927": "지정된 경로에 있는 TypeScript 프로젝트를 컴파일합니다.",
@@ -565,7 +568,7 @@
565
568
  "Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "동적 가져오기의 지정자는 'string' 형식이어야 하지만 여기에서 형식은 '{0}'입니다.",
566
569
  "Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323": "동적 가져오기는 '--module' 플래그가 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12' 또는 'nodenext'로 설정된 경우에만 지원됩니다.",
567
570
  "Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450": "동적 가져오기는 모듈 지정자와 선택적 어설션만 인수로 수락합니다.",
568
- "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324": "동적 가져오기는 '--module' 옵션이 'esnext'로 설정된 경우에만 두 번째 인수를 지원합니다.",
571
+ "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324": "동적 가져오기는 '--module' 옵션이 'esnext' 또는 'nodenext'로 설정된 경우에만 두 번째 인수를 지원합니다.",
569
572
  "Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "공용 구조체 형식 '{0}'의 각 멤버에 구문 시그니처가 있지만, 해당 시그니처는 서로 호환되지 않습니다.",
570
573
  "Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758": "공용 구조체 형식 '{0}'의 각 멤버에 시그니처가 있지만, 해당 시그니처는 서로 호환되지 않습니다.",
571
574
  "Editor_Support_6249": "편집기 지원",
@@ -623,6 +626,7 @@
623
626
  "Enum_member_must_have_initializer_1061": "열거형 멤버에는 이니셜라이저가 있어야 합니다.",
624
627
  "Enum_name_cannot_be_0_2431": "열거형 이름은 '{0}'일 수 없습니다.",
625
628
  "Enum_type_0_has_members_with_initializers_that_are_not_literals_2535": "열거형 형식 '{0}'에 리터럴이 아닌 이니셜라이저를 사용하는 멤버가 있습니다.",
629
+ "Errors_Files_6041": "오류 파일",
626
630
  "Examples_Colon_0_6026": "예: {0}",
627
631
  "Excessive_stack_depth_comparing_types_0_and_1_2321": "'{0}' 및 '{1}' 형식을 비교하는 스택 깊이가 과도합니다.",
628
632
  "Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027": "'@extends' 태그로 제공하는 예상되는 {0}-{1} 형식 인수입니다.",
@@ -708,8 +712,11 @@
708
712
  "For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "'For await' 루프는 클래스 정적 블록 내에서 사용할 수 없습니다.",
709
713
  "Found_0_errors_6217": "{0}개 오류가 발견되었습니다.",
710
714
  "Found_0_errors_Watching_for_file_changes_6194": "{0}개 오류가 발견되었습니다. 파일이 변경되었는지 확인하는 중입니다.",
715
+ "Found_0_errors_in_1_files_6261": "{1} 파일에서 {0} 오류를 찾았습니다.",
716
+ "Found_0_errors_in_the_same_file_starting_at_Colon_1_6260": "{1}에서 시작하는 동일한 파일에서 {0}개의 오류를 찾았습니다.",
711
717
  "Found_1_error_6216": "1개 오류가 발견되었습니다.",
712
718
  "Found_1_error_Watching_for_file_changes_6193": "1개 오류가 발견되었습니다. 파일이 변경되었는지 확인하는 중입니다.",
719
+ "Found_1_error_in_1_6259": "{1}에서 1개의 오류를 찾았습니다.",
713
720
  "Found_package_json_at_0_6099": "'{0}'에서 'package.json'을 찾았습니다.",
714
721
  "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250": "'ES3' 또는 'ES5'를 대상으로 할 경우 strict 모드의 블록 내에서 함수 선언을 사용할 수 없습니다.",
715
722
  "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251": "'ES3' 또는 'ES5'를 대상으로 할 경우 strict 모드의 블록 내에서 함수 선언을 사용할 수 없습니다. 클래스 정의는 자동으로 strict 모드가 됩니다.",
@@ -764,7 +771,9 @@
764
771
  "Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "내보낸 클래스 '{0}'의 Implements 절이 프라이빗 이름 '{1}'을(를) 가지고 있거나 사용 중입니다.",
765
772
  "Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "런타임에는 'symbol'을 'string'으로 암시적으로 변환할 수 없습니다. 이 식을 'String(...)'으로 래핑하는 것이 좋습니다.",
766
773
  "Import_0_from_module_1_90013": "\"{1}\" 모듈에서 '{0}' 가져오기",
767
- "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821": "가져오기 어설션은 '--module' 옵션이 'esnext'로 설정된 경우에만 지원됩니다.",
774
+ "Import_assertion_values_must_be_string_literal_expressions_2837": "가져오기 어설션 값은 문자열 리터럴 ㅁ이이어야 합니다.",
775
+ "Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836": "commonjs 'require' 호출로 변환되는 명령문에는 가져오기 어설션이 허용되지 않습니다.",
776
+ "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821": "가져오기 어설션은 '--module' 옵션이 'esnext' 또는 'nodenext'로 설정된 경우에만 지원됩니다.",
768
777
  "Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822": "가져오기 어설션은 형식 전용 가져오기 또는 내보내기에서 사용할 수 없습니다.",
769
778
  "Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202": "ECMAScript 모듈을 대상으로 하는 경우 할당 가져오기를 사용할 수 없습니다. 대신 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"' 또는 다른 모듈 형식 사용을 고려하세요.",
770
779
  "Import_declaration_0_is_using_private_name_1_4000": "가져오기 선언 '{0}'이(가) 프라이빗 이름 '{1}'을(를) 사용하고 있습니다.",
@@ -790,6 +799,7 @@
790
799
  "Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644": "내보낸 JavaScript 내 sourcemap에 소스 코드를 포함합니다.",
791
800
  "Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "내보낸 JavaScript 내에 sourcemap 파일을 포함합니다.",
792
801
  "Include_undefined_in_index_signature_results_6716": "인덱스 시그니처 결과에 '정의되지 않음' 포함",
802
+ "Includes_imports_of_types_referenced_by_0_90054": "'{0}'에서 참조하는 유형의 가져오기를 포함합니다.",
793
803
  "Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "--watch를 포함하면 -w는 파일 변경 내용에 대한 현재 프로젝트 감시를 시작합니다. 설정되면 다음을 사용하여 조사식 모드를 구성할 수 있습니다.",
794
804
  "Index_signature_for_type_0_is_missing_in_type_1_2329": "'{1}' 형식에 인덱스 시그니처 유형 '{0}'이(가) 없습니다.",
795
805
  "Index_signature_in_type_0_only_permits_reading_2542": "'{0}' 형식의 인덱스 시그니처는 읽기만 허용됩니다.",
@@ -1144,6 +1154,8 @@
1144
1154
  "Referenced_project_0_may_not_disable_emit_6310": "참조된 프로젝트 '{0}'은(는) 내보내기를 사용하지 않도록 설정할 수 없습니다.",
1145
1155
  "Referenced_project_0_must_have_setting_composite_Colon_true_6306": "참조되는 프로젝트 '{0}'에는 \"composite\": true 설정이 있어야 합니다.",
1146
1156
  "Referenced_via_0_from_file_1_1400": "'{1}' 파일에서 '{0}'을(를) 통해 참조되었습니다.",
1157
+ "Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834": "상대 가져오기 경로는 '--moduleResolution'이 'node12' 또는 'nodenext'인 경우 EcmaScript 가져오기의 명시적 파일 확장자가 필요합니다. 가져오기 경로에 확장자를 추가하는 것을 고려하세요.",
1158
+ "Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835": "상대 가져오기 경로는 '--moduleResolution'이 'node12' 또는 'nodenext'인 경우 EcmaScript 가져오기의 명시적 파일 확장자가 필요합니다. '{0}'을(를) 의미했나요?",
1147
1159
  "Remove_a_list_of_directories_from_the_watch_process_6628": "감시 프로세스에서 디렉터리 목록을 제거합니다.",
1148
1160
  "Remove_a_list_of_files_from_the_watch_mode_s_processing_6629": "감시 모드의 처리에서 파일 목록을 제거합니다.",
1149
1161
  "Remove_all_unnecessary_override_modifiers_95163": "불필요한 'override' 한정자 모두 제거",
@@ -1706,6 +1718,7 @@
1706
1718
  "baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106": "'baseUrl' 옵션이 '{0}'(으)로 설정되어 있습니다. 상대적이지 않은 모듈 이름 '{1}'을(를) 확인하려면 이 값을 사용합니다.",
1707
1719
  "can_only_be_used_at_the_start_of_a_file_18026": "'#!'는 파일의 시작 부분에서만 사용할 수 있습니다.",
1708
1720
  "case_or_default_expected_1130": "'case' 또는 'default'가 필요합니다.",
1721
+ "catch_or_finally_expected_1472": "'catch' 또는 'finally'가 필요합니다.",
1709
1722
  "const_declarations_can_only_be_declared_inside_a_block_1156": "'const' 선언은 블록 내부에서만 선언할 수 있습니다.",
1710
1723
  "const_declarations_must_be_initialized_1155": "'const' 선언은 초기화해야 합니다.",
1711
1724
  "const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "'const' 열거형 멤버 이니셜라이저가 무한 값에 대해 평가되었습니다.",
package/lib/lib.dom.d.ts CHANGED
@@ -703,6 +703,24 @@ interface KeyframeEffectOptions extends EffectTiming {
703
703
  pseudoElement?: string | null;
704
704
  }
705
705
 
706
+ interface LockInfo {
707
+ clientId?: string;
708
+ mode?: LockMode;
709
+ name?: string;
710
+ }
711
+
712
+ interface LockManagerSnapshot {
713
+ held?: LockInfo[];
714
+ pending?: LockInfo[];
715
+ }
716
+
717
+ interface LockOptions {
718
+ ifAvailable?: boolean;
719
+ mode?: LockMode;
720
+ signal?: AbortSignal;
721
+ steal?: boolean;
722
+ }
723
+
706
724
  interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
707
725
  configuration?: MediaDecodingConfiguration;
708
726
  }
@@ -1905,7 +1923,7 @@ interface AbortSignal extends EventTarget {
1905
1923
  declare var AbortSignal: {
1906
1924
  prototype: AbortSignal;
1907
1925
  new(): AbortSignal;
1908
- // abort(): AbortSignal; - To be re-added in the future
1926
+ abort(reason?: any): AbortSignal;
1909
1927
  };
1910
1928
 
1911
1929
  interface AbstractRange {
@@ -2966,6 +2984,7 @@ interface CSSStyleDeclaration {
2966
2984
  scrollSnapAlign: string;
2967
2985
  scrollSnapStop: string;
2968
2986
  scrollSnapType: string;
2987
+ scrollbarGutter: string;
2969
2988
  shapeImageThreshold: string;
2970
2989
  shapeMargin: string;
2971
2990
  shapeOutside: string;
@@ -3263,6 +3282,20 @@ declare var CacheStorage: {
3263
3282
  new(): CacheStorage;
3264
3283
  };
3265
3284
 
3285
+ interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack {
3286
+ readonly canvas: HTMLCanvasElement;
3287
+ requestFrame(): void;
3288
+ addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3289
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
3290
+ removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3291
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
3292
+ }
3293
+
3294
+ declare var CanvasCaptureMediaStreamTrack: {
3295
+ prototype: CanvasCaptureMediaStreamTrack;
3296
+ new(): CanvasCaptureMediaStreamTrack;
3297
+ };
3298
+
3266
3299
  interface CanvasCompositing {
3267
3300
  globalAlpha: number;
3268
3301
  globalCompositeOperation: GlobalCompositeOperation;
@@ -5110,6 +5143,7 @@ declare var FileSystemDirectoryEntry: {
5110
5143
 
5111
5144
  /** Available only in secure contexts. */
5112
5145
  interface FileSystemDirectoryHandle extends FileSystemHandle {
5146
+ readonly kind: "directory";
5113
5147
  getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
5114
5148
  getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
5115
5149
  removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
@@ -5155,6 +5189,7 @@ declare var FileSystemFileEntry: {
5155
5189
 
5156
5190
  /** Available only in secure contexts. */
5157
5191
  interface FileSystemFileHandle extends FileSystemHandle {
5192
+ readonly kind: "file";
5158
5193
  getFile(): Promise<File>;
5159
5194
  }
5160
5195
 
@@ -5476,6 +5511,7 @@ interface GlobalEventHandlersEventMap {
5476
5511
  "select": Event;
5477
5512
  "selectionchange": Event;
5478
5513
  "selectstart": Event;
5514
+ "slotchange": Event;
5479
5515
  "stalled": Event;
5480
5516
  "submit": SubmitEvent;
5481
5517
  "suspend": Event;
@@ -5710,6 +5746,7 @@ interface GlobalEventHandlers {
5710
5746
  * @param ev The event.
5711
5747
  */
5712
5748
  onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5749
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
5713
5750
  /**
5714
5751
  * Occurs when the seek operation ends.
5715
5752
  * @param ev The event.
@@ -5727,6 +5764,7 @@ interface GlobalEventHandlers {
5727
5764
  onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5728
5765
  onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5729
5766
  onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5767
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5730
5768
  /**
5731
5769
  * Occurs when the download has stopped.
5732
5770
  * @param ev The event.
@@ -8916,6 +8954,29 @@ declare var Location: {
8916
8954
  new(): Location;
8917
8955
  };
8918
8956
 
8957
+ /** Available only in secure contexts. */
8958
+ interface Lock {
8959
+ readonly mode: LockMode;
8960
+ readonly name: string;
8961
+ }
8962
+
8963
+ declare var Lock: {
8964
+ prototype: Lock;
8965
+ new(): Lock;
8966
+ };
8967
+
8968
+ /** Available only in secure contexts. */
8969
+ interface LockManager {
8970
+ query(): Promise<LockManagerSnapshot>;
8971
+ request(name: string, callback: LockGrantedCallback): Promise<any>;
8972
+ request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;
8973
+ }
8974
+
8975
+ declare var LockManager: {
8976
+ prototype: LockManager;
8977
+ new(): LockManager;
8978
+ };
8979
+
8919
8980
  interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
8920
8981
  }
8921
8982
 
@@ -10242,6 +10303,7 @@ interface PerformanceEventTiming extends PerformanceEntry {
10242
10303
  readonly processingEnd: DOMHighResTimeStamp;
10243
10304
  readonly processingStart: DOMHighResTimeStamp;
10244
10305
  readonly target: Node | null;
10306
+ toJSON(): any;
10245
10307
  }
10246
10308
 
10247
10309
  declare var PerformanceEventTiming: {
@@ -10964,6 +11026,7 @@ interface RTCRtpTransceiver {
10964
11026
  readonly mid: string | null;
10965
11027
  readonly receiver: RTCRtpReceiver;
10966
11028
  readonly sender: RTCRtpSender;
11029
+ setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;
10967
11030
  stop(): void;
10968
11031
  }
10969
11032
 
@@ -11178,6 +11241,7 @@ interface ResizeObserverEntry {
11178
11241
  readonly borderBoxSize: ReadonlyArray<ResizeObserverSize>;
11179
11242
  readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;
11180
11243
  readonly contentRect: DOMRectReadOnly;
11244
+ readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;
11181
11245
  readonly target: Element;
11182
11246
  }
11183
11247
 
@@ -13147,6 +13211,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
13147
13211
  readonly host: Element;
13148
13212
  readonly mode: ShadowRootMode;
13149
13213
  onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
13214
+ readonly slotAssignment: SlotAssignmentMode;
13150
13215
  /** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
13151
13216
  addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
13152
13217
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -16935,6 +17000,10 @@ interface IntersectionObserverCallback {
16935
17000
  (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;
16936
17001
  }
16937
17002
 
17003
+ interface LockGrantedCallback {
17004
+ (lock: Lock | null): any;
17005
+ }
17006
+
16938
17007
  interface MediaSessionActionHandler {
16939
17008
  (details: MediaSessionActionDetails): void;
16940
17009
  }
@@ -17563,6 +17632,7 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null;
17563
17632
  * @param ev The event.
17564
17633
  */
17565
17634
  declare var onscroll: ((this: Window, ev: Event) => any) | null;
17635
+ declare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;
17566
17636
  /**
17567
17637
  * Occurs when the seek operation ends.
17568
17638
  * @param ev The event.
@@ -17580,6 +17650,7 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null;
17580
17650
  declare var onselect: ((this: Window, ev: Event) => any) | null;
17581
17651
  declare var onselectionchange: ((this: Window, ev: Event) => any) | null;
17582
17652
  declare var onselectstart: ((this: Window, ev: Event) => any) | null;
17653
+ declare var onslotchange: ((this: Window, ev: Event) => any) | null;
17583
17654
  /**
17584
17655
  * Occurs when the download has stopped.
17585
17656
  * @param ev The event.
@@ -17791,6 +17862,7 @@ type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
17791
17862
  type KeyType = "private" | "public" | "secret";
17792
17863
  type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
17793
17864
  type LineAlignSetting = "center" | "end" | "start";
17865
+ type LockMode = "exclusive" | "shared";
17794
17866
  type MediaDecodingType = "file" | "media-source" | "webrtc";
17795
17867
  type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
17796
17868
  type MediaEncodingType = "record" | "webrtc";
@@ -188,6 +188,10 @@ interface PluginArray {
188
188
  [Symbol.iterator](): IterableIterator<Plugin>;
189
189
  }
190
190
 
191
+ interface RTCRtpTransceiver {
192
+ setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
193
+ }
194
+
191
195
  interface RTCStatsReport extends ReadonlyMap<string, any> {
192
196
  }
193
197
 
@@ -322,6 +322,24 @@ interface KeyAlgorithm {
322
322
  name: string;
323
323
  }
324
324
 
325
+ interface LockInfo {
326
+ clientId?: string;
327
+ mode?: LockMode;
328
+ name?: string;
329
+ }
330
+
331
+ interface LockManagerSnapshot {
332
+ held?: LockInfo[];
333
+ pending?: LockInfo[];
334
+ }
335
+
336
+ interface LockOptions {
337
+ ifAvailable?: boolean;
338
+ mode?: LockMode;
339
+ signal?: AbortSignal;
340
+ steal?: boolean;
341
+ }
342
+
325
343
  interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
326
344
  configuration?: MediaDecodingConfiguration;
327
345
  }
@@ -1536,6 +1554,7 @@ declare var FileReaderSync: {
1536
1554
 
1537
1555
  /** Available only in secure contexts. */
1538
1556
  interface FileSystemDirectoryHandle extends FileSystemHandle {
1557
+ readonly kind: "directory";
1539
1558
  getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
1540
1559
  getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
1541
1560
  removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
@@ -1549,6 +1568,7 @@ declare var FileSystemDirectoryHandle: {
1549
1568
 
1550
1569
  /** Available only in secure contexts. */
1551
1570
  interface FileSystemFileHandle extends FileSystemHandle {
1571
+ readonly kind: "file";
1552
1572
  getFile(): Promise<File>;
1553
1573
  }
1554
1574
 
@@ -2113,6 +2133,29 @@ interface KHR_parallel_shader_compile {
2113
2133
  readonly COMPLETION_STATUS_KHR: GLenum;
2114
2134
  }
2115
2135
 
2136
+ /** Available only in secure contexts. */
2137
+ interface Lock {
2138
+ readonly mode: LockMode;
2139
+ readonly name: string;
2140
+ }
2141
+
2142
+ declare var Lock: {
2143
+ prototype: Lock;
2144
+ new(): Lock;
2145
+ };
2146
+
2147
+ /** Available only in secure contexts. */
2148
+ interface LockManager {
2149
+ query(): Promise<LockManagerSnapshot>;
2150
+ request(name: string, callback: LockGrantedCallback): Promise<any>;
2151
+ request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;
2152
+ }
2153
+
2154
+ declare var LockManager: {
2155
+ prototype: LockManager;
2156
+ new(): LockManager;
2157
+ };
2158
+
2116
2159
  interface MediaCapabilities {
2117
2160
  decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;
2118
2161
  encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;
@@ -5597,6 +5640,10 @@ interface FrameRequestCallback {
5597
5640
  (time: DOMHighResTimeStamp): void;
5598
5641
  }
5599
5642
 
5643
+ interface LockGrantedCallback {
5644
+ (lock: Lock | null): any;
5645
+ }
5646
+
5600
5647
  interface OnErrorEventHandlerNonNull {
5601
5648
  (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;
5602
5649
  }
@@ -5770,6 +5817,7 @@ type ImageOrientation = "flipY" | "none";
5770
5817
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
5771
5818
  type KeyType = "private" | "public" | "secret";
5772
5819
  type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
5820
+ type LockMode = "exclusive" | "shared";
5773
5821
  type MediaDecodingType = "file" | "media-source" | "webrtc";
5774
5822
  type MediaEncodingType = "record" | "webrtc";
5775
5823
  type NotificationDirection = "auto" | "ltr" | "rtl";