Remove .d.ts files from CTS js output list

Change-Id: I3ea78cd4008772d3d60c67e1f665fe987d4cd92f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/102260
Commit-Queue: Shrek Shao <shrekshao@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Auto-Submit: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/third_party/gn/webgpu-cts/BUILD.gn b/third_party/gn/webgpu-cts/BUILD.gn
index 43742d6..d8fbf3f 100644
--- a/third_party/gn/webgpu-cts/BUILD.gn
+++ b/third_party/gn/webgpu-cts/BUILD.gn
@@ -35,7 +35,7 @@
 }
 
 js_outputs = []
-foreach(ts_file, list_from_ts_sources_txt) {
+foreach(ts_file, filter_exclude(list_from_ts_sources_txt, [ "*.d.ts" ])) {
   js_file = string_replace(ts_file, ".ts", ".js")
   js_node_file = string_replace(js_file, "src/", "src-node/")