Switch to npm_bazel_typescript index.bzl.

defs.bzl is deprecated and being removed soon.

PiperOrigin-RevId: 270348923
diff --git a/internal/BUILD.bazel b/internal/BUILD.bazel
index 6e10a60..5eb3190 100644
--- a/internal/BUILD.bazel
+++ b/internal/BUILD.bazel
@@ -17,7 +17,7 @@
 load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
 load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
 load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
-load("@npm_bazel_typescript//:defs.bzl", "ts_library")
+load("@npm_bazel_typescript//:index.bzl", "ts_library")
 
 package(default_visibility = ["//visibility:public"])
 
diff --git a/ts_auto_deps/updater/updater.go b/ts_auto_deps/updater/updater.go
index 4537ef4..40f3056 100644
--- a/ts_auto_deps/updater/updater.go
+++ b/ts_auto_deps/updater/updater.go
@@ -928,7 +928,7 @@
 }
 
 const (
-	tsSkylarkLabel = "@npm_bazel_typescript//:defs.bzl"
+	tsSkylarkLabel = "@npm_bazel_typescript//:index.bzl"
 	ngSkylarkLabel = "@angular//:index.bzl"
 )