fix: the disrespect for the ts compiler
This commit is contained in:
parent
8c961c729b
commit
af899b4ce5
11 changed files with 53 additions and 72 deletions
|
|
@ -103,6 +103,7 @@ for (const segment of url) {
|
|||
// FIXME: need to make this work properly, or fold into the markdown processor
|
||||
let headings = document.getElementsByClassName("heading")
|
||||
if (headings.length > 0) {
|
||||
//@ts-expect-error
|
||||
for (const heading of headings) {
|
||||
let button = heading.querySelector("h2")
|
||||
if (button) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue