@@ -111,7 +111,7 @@ <h2>Macros</h2>
111111
112112 < h2 id ="tsc_wrapped_tsconfig "> tsc_wrapped_tsconfig</ h2 >
113113
114- < pre > tsc_wrapped_tsconfig(< a href ="#tsc_wrapped_tsconfig.ctx "> ctx</ a > , < a href ="#tsc_wrapped_tsconfig.files "> files</ a > , < a href ="#tsc_wrapped_tsconfig.srcs "> srcs</ a > , < a href ="#tsc_wrapped_tsconfig.devmode_manifest "> devmode_manifest</ a > , < a href ="#tsc_wrapped_tsconfig.jsx_factory "> jsx_factory</ a > )</ pre >
114+ < pre > tsc_wrapped_tsconfig(< a href ="#tsc_wrapped_tsconfig.ctx "> ctx</ a > , < a href ="#tsc_wrapped_tsconfig.files "> files</ a > , < a href ="#tsc_wrapped_tsconfig.srcs "> srcs</ a > , < a href ="#tsc_wrapped_tsconfig.devmode_manifest "> devmode_manifest</ a > , < a href ="#tsc_wrapped_tsconfig.jsx_factory "> jsx_factory</ a > , < a href =" #tsc_wrapped_tsconfig.**kwargs " > **kwargs </ a > )</ pre >
115115
116116 < p > Produce a tsconfig.json that sets options required under Bazel.</ p >
117117
@@ -159,13 +159,20 @@ <h3 id="tsc_wrapped_tsconfig_args">Attributes</h3>
159159
160160 </ td >
161161 </ tr >
162+ < tr id ="tsc_wrapped_tsconfig.**kwargs ">
163+ < td > < code > **kwargs</ code > </ td >
164+ < td >
165+ < p > < code > Unknown; Optional</ code > </ p >
166+
167+ </ td >
168+ </ tr >
162169 </ tbody >
163170</ table >
164171 < hr >
165172
166173 < h2 id ="ts_library_macro "> ts_library_macro</ h2 >
167174
168- < pre > ts_library_macro(< a href ="#ts_library_macro.tsconfig "> tsconfig</ a > )</ pre >
175+ < pre > ts_library_macro(< a href ="#ts_library_macro.tsconfig "> tsconfig</ a > , < a href =" #ts_library_macro.**kwargs " > **kwargs </ a > )</ pre >
169176
170177 < p > Wraps < code > ts_library</ code > to set the default for the < code > tsconfig</ code > attribute.</ p >
171178< p > This must be a macro so that the string is converted to a label in the context of the
@@ -186,8 +193,14 @@ <h3 id="ts_library_macro_args">Attributes</h3>
186193 < td > < code > tsconfig</ code > </ td >
187194 < td >
188195 < p > < code > Unknown; Optional</ code > </ p >
189- < p > the label pointing to a tsconfig.json file
190- **kwargs: remaining args to pass to the ts_library rule</ p >
196+ < p > the label pointing to a tsconfig.json file</ p >
197+ </ td >
198+ </ tr >
199+ < tr id ="ts_library_macro.**kwargs ">
200+ < td > < code > **kwargs</ code > </ td >
201+ < td >
202+ < p > < code > Unknown; Optional</ code > </ p >
203+ < p > remaining args to pass to the ts_library rule</ p >
191204 </ td >
192205 </ tr >
193206 </ tbody >
@@ -239,7 +252,7 @@ <h3 id="ts_library_args">Attributes</h3>
239252 < p > Sets a different TypeScript compiler binary to use for this library.
240253 For example, we use the vanilla TypeScript tsc.js for bootstrapping,
241254 and Angular compilations can replace this with < code > ngc</ code > .</ p >
242- < pre > < code > The default ts_library compiler depends on the `@npm//: @bazel/typescript`
255+ < pre > < code > The default ts_library compiler depends on the `@npm//@bazel/typescript`
243256 target which is setup for projects that use bazel managed npm deps that
244257 fetch the @bazel/typescript npm package. It is recommended that you use
245258 the workspace name `@npm` for bazel managed deps so the default
@@ -258,15 +271,15 @@ <h3 id="ts_library_args">Attributes</h3>
258271 < tr id ="ts_library.node_modules ">
259272 < td > < code > node_modules</ code > </ td >
260273 < td >
261- < p > < code > < a href ="https://bazel.build/docs/build-ref.html#labels "> Label</ a > ; Optional; Default is @npm//:typescript__typings</ code > </ p >
274+ < p > < code > < a href ="https://bazel.build/docs/build-ref.html#labels "> Label</ a > ; Optional; Default is @npm//typescript :typescript__typings</ code > </ p >
262275 < p > The npm packages which should be available during the compile.</ p >
263- < pre > < code > The default value is `@npm//:typescript__typings` is setup
276+ < pre > < code > The default value is `@npm//typescript :typescript__typings` is setup
264277 for projects that use bazel managed npm deps that. It is recommended
265278 that you use the workspace name `@npm` for bazel managed deps so the
266279 default node_modules works out of the box. Otherwise, you'll have to
267280 override the node_modules attribute manually. This default is in place
268281 since ts_library will always depend on at least the typescript
269- default libs which are provided by `@npm//:typescript__typings`.
282+ default libs which are provided by `@npm//typescript :typescript__typings`.
270283
271284 This attribute is DEPRECATED. As of version 0.18.0 the recommended
272285 approach to npm dependencies is to use fine grained npm dependencies
@@ -292,10 +305,10 @@ <h3 id="ts_library_args">Attributes</h3>
292305 name = "my_lib",
293306 ...
294307 deps = [
295- "@npm//: @types/foo",
296- "@npm//: @types/bar",
297- "@npm//: foo",
298- "@npm//: bar",
308+ "@npm//@types/foo",
309+ "@npm//@types/bar",
310+ "@npm//foo",
311+ "@npm//bar",
299312 ...
300313 ],
301314 )
0 commit comments