diff --git a/front_end/component_docs/data_grid_controller/BUILD.gn b/front_end/component_docs/data_grid_controller/BUILD.gn index 7ed346d764..313f26d30b 100644 --- a/front_end/component_docs/data_grid_controller/BUILD.gn +++ b/front_end/component_docs/data_grid_controller/BUILD.gn @@ -3,6 +3,22 @@ # found in the LICENSE file. import("../../../scripts/build/ninja/copy.gni") +import("../../../third_party/typescript/typescript.gni") + +ts_library("ts") { + sources = [ + "basic.ts", + "custom-context-menu-items.ts", + "filter.ts", + ] + + deps = [ + "../../../test/unittests/front_end/helpers", + "../../component_helpers:bundle", + "../../text_utils:bundle", + "../../ui/components:bundle", + ] +} copy_to_gen("data_grid_controller") { sources = [ @@ -11,9 +27,5 @@ copy_to_gen("data_grid_controller") { "filter.html", ] - deps = [ - "../../component_helpers:bundle", - "../../text_utils:bundle", - "../../ui/components:bundle", - ] + deps = [ ":ts" ] } diff --git a/front_end/component_docs/data_grid_controller/basic.html b/front_end/component_docs/data_grid_controller/basic.html index 48c5549e3c..01f5a010db 100644 --- a/front_end/component_docs/data_grid_controller/basic.html +++ b/front_end/component_docs/data_grid_controller/basic.html @@ -23,34 +23,6 @@