# Copyright 2026 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//tools/typescript/ts_library.gni") ts_library("build_ts") { tsconfig_base = "tsconfig_base.json" in_files = [ "eslint_ts.config_base.ts", "inline_event_handler.ts", "lit_element_bindings.ts", "lit_element_invalid_interface.ts", "lit_element_structure.ts", "lit_element_template_structure.ts", "lit_property_accessor.ts", "lit_reactive_properties.ts", "no_assert_equals_boolean.ts", "no_mixed_type_and_value_imports.ts", "polymer_property_class_member.ts", "polymer_property_declare.ts", "query_utils.ts", "web_component_missing_deps.ts", "webui_eslint_plugin.ts", ] path_mappings = [ "/third_party/node/node_modules/typescript/lib/typescript.js|" + rebase_path( "//third_party/node/node_modules/typescript/lib/typescript.d.ts", target_gen_dir), "/third_party/node/node_modules/@typescript-eslint/*|" + rebase_path("//third_party/node/node_modules/@typescript-eslint/*", target_gen_dir), "/third_party/node/node_modules/esquery/dist/esquery.esm.min.js|" + rebase_path("//third_party/node/node_modules/@types/esquery/index.d.ts", target_gen_dir), "/third_party/node/node_modules/eslint-plugin-lit/lib/index.js|" + rebase_path( "//third_party/node/node_modules/eslint-plugin-lit/lib/index.d.ts", target_gen_dir), ] }