sveltejs / sites

Monorepo for the sites in the Svelte ecosystem

Home Page:https://svelte.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte docs: ts-toggle button doesn't work

Jamoverjelly opened this issue · comments

commented

Describe the bug

The button inside the ts-toggle div appearing at the base of the documentation's table of contents (last child of toc-container) doesn't switch the code examples from TypeScript to JavaScript

Reproduction

n/a

Logs

No response

System Info

n/a

Severity

annoyance

I can't reproduce this - what page are you seeing this on?

e.g. the on:eventname docs correctly toggle between JSDoc and TS (https://svelte.dev/docs/element-directives#on-eventname)

JS:
image

TS:
image

commented