Skip to content

Commit 03a6e59

Browse files
Fix strange TypeDoc regression in Custom Directives generated API. (#1098)
* Fix strange TypeDoc regression in Custom Directives API. Somehow TypeDoc no longer recognizes the type for `ReadonlyArray`. This is a hack just for this page. * Add TODO with github issue.
1 parent 7819c19 commit 03a6e59

File tree

1 file changed

+4
-0
lines changed
  • packages/lit-dev-content/site/_includes

1 file changed

+4
-0
lines changed

packages/lit-dev-content/site/_includes/api.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@
143143
{%- elif t.name and t.name !== '__type' -%}
144144
{{- t.name -}}
145145

146+
{%- elif page.url.includes("api/custom-directives") -%}
147+
<!-- TODO(https://github.com/lit/lit.dev/issues/1099) -->
148+
ReadonlyArray&lt;string>
149+
146150
{%- else -%}
147151
TODO
148152
{# {{ t | dump }} #}

0 commit comments

Comments
 (0)