diff --git a/docs/rules.md b/docs/rules.md index 2d9fa491..9e6f9b63 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -37,10 +37,10 @@ extended configuration file as well, to pass them both to the TypeScript compile
ts_project_rule(name, deps, srcs, data, allow_js, args, assets, buildinfo_out, composite, declaration, declaration_dir, declaration_map, emit_declaration_only, extends, - incremental, is_typescript_5_or_greater, js_outs, map_outs, out_dir, preserve_jsx, - resolve_json_module, root_dir, source_map, supports_workers, transpile, - ts_build_info_file, tsc, tsc_worker, tsconfig, typing_maps_outs, typings_outs, - validate, validator) + incremental, is_typescript_5_or_greater, isolated_declarations, js_outs, map_outs, + out_dir, preserve_jsx, resolve_json_module, root_dir, source_map, supports_workers, + transpile, ts_build_info_file, tsc, tsc_worker, tsconfig, typing_maps_outs, + typings_outs, validate, validator)Implementation rule behind the ts_project macro. @@ -70,6 +70,7 @@ for srcs and tsconfig, and pre-declaring output files. | extends | https://www.typescriptlang.org/tsconfig#extends | Label | optional | `None` | | incremental | https://www.typescriptlang.org/tsconfig#incremental | Boolean | optional | `False` | | is_typescript_5_or_greater | Whether TypeScript version is >= 5.0.0 | Boolean | optional | `False` | +| isolated_declarations | https://www.typescriptlang.org/tsconfig/#isolatedDeclarations | Boolean | optional | `False` | | js_outs | Locations in bazel-out where tsc will write `.js` files | List of labels | optional | `[]` | | map_outs | Locations in bazel-out where tsc will write `.js.map` files | List of labels | optional | `[]` | | out_dir | https://www.typescriptlang.org/tsconfig#outDir | String | optional | `""` | @@ -114,10 +115,10 @@ along with any transitively referenced tsconfig.json files chained by the ## ts_project
-ts_project(name, tsconfig, srcs, args, data, deps, assets, extends, allow_js, declaration, - source_map, declaration_map, resolve_json_module, preserve_jsx, composite, incremental, - emit_declaration_only, transpiler, ts_build_info_file, tsc, tsc_worker, validate, - validator, declaration_dir, out_dir, root_dir, supports_workers, kwargs) +ts_project(name, tsconfig, srcs, args, data, deps, assets, extends, allow_js, isolated_declarations, + declaration, source_map, declaration_map, resolve_json_module, preserve_jsx, composite, + incremental, emit_declaration_only, transpiler, ts_build_info_file, tsc, tsc_worker, + validate, validator, declaration_dir, out_dir, root_dir, supports_workers, kwargs)Compiles one TypeScript project using `tsc --project`. @@ -156,6 +157,7 @@ If you have problems getting your `ts_project` to work correctly, read the dedic | assets | Files which are needed by a downstream build step such as a bundler.