-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte docs: ts-toggle button doesn't work #541
Comments
I can't reproduce this - what page are you seeing this on? e.g. the |
Thanks for your attention to my inquiry, Geoff.
I began reading through the docs on svelt's store implementation here
<https://svelte.dev/docs/svelte-store>
I didn't realize this before, but it looks as though other snippets on the
page that have their filename included change their extension to express
the difference between a JS and TS file, though all the function signatures
appear to be written in TypeScript. Maybe that's intentional, but I was
expecting the signatures to be expressed in plain JavaScript by default.
Jamie
…On Mon, Oct 2, 2023 at 12:08 PM Geoff Rich ***@***.***> wrote:
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: image]
<https://user-images.githubusercontent.com/4992896/272024446-c616d9cd-961e-43f5-9ad7-c163e42aea17.png>
TS:
[image: image]
<https://user-images.githubusercontent.com/4992896/272024499-ba39a289-b1f9-4b53-ab6b-8a161b96243c.png>
—
Reply to this email directly, view it on GitHub
<#541>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSB7DJIB6FSYEHNPTW5HCTX5LRINAVCNFSM6AAAAAA5NUQFZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGMYDGOBXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The button inside the
ts-toggle
div appearing at the base of the documentation's table of contents (last child oftoc-container
) doesn't switch the code examples from TypeScript to JavaScriptReproduction
n/a
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: