diff --git a/.vscode/bazel.code-snippets b/.vscode/bazel.code-snippets
index 5ef457a2..b578df05 100644
--- a/.vscode/bazel.code-snippets
+++ b/.vscode/bazel.code-snippets
@@ -15,17 +15,17 @@
// ],
// "description": "Log output to console"
// }
- "ts_library() with tests": {
+ "ts_project() with tests": {
"scope": "starlark",
- "prefix": "ts_lib",
+ "prefix": "ts_proj",
"description": "Build a new TypeScript file with Jasmine tests.",
"body": [
- "ts_library(",
+ "ts_project(",
" name = \"${1:library_name}\",",
" srcs = [\"${1}.ts\"],",
")",
"",
- "ts_library(",
+ "ts_project(",
" name = \"${1}_test_lib\",",
" srcs = [\"${1}_test.ts\"],",
" testonly = True,",
diff --git a/README.md b/README.md
index 2fd82119..fed0e9ce 100644
--- a/README.md
+++ b/README.md
@@ -559,8 +559,8 @@ desired value for various parameters using Tab and
Shift+Tab to navigate between them. The snippet will take
care of making sure certain values match as expected.
-* Typing `ts_lib` in a `BUILD.bazel` file with a filename will generate a
- `ts_library()` rule for that file, a rule for its test file, and a
+* Typing `ts_proj` in a `BUILD.bazel` file with a filename will generate a
+ `ts_project()` rule for that file, a rule for its test file, and a
`jasmine_node_test()` rule. Useful when creating a new file to auto-generate
its default `BUILD` rules.
* Typing `jas` in a TypeScript file will generate a base Jasmine setup with