`crossOrigin` and `playsInline` types don't work with solid & typescript
When running
tsc --jsx preserve -t es2020 --outDir js --noEmit false on my solidjs site, I get the following compile errors. What gives?

8 Replies
it's not camelcased in solidjs.
try
Edit: Looks like both
crossOrigin and crossorigin is supported on link with solidjs, but it's not a boolean so you'll have to pass it either anonymous or use-credentialsThank you, that fixed the
crossorigin but didn't work for the playsinline:
What does your tsconfig.json look like?
Aha.
playsinline isn't actually a valid attribute on an audio element. It's only for videos.: The Embed Audio element - HTML: HyperText Markup Language | MDN
The HTML element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.
<video>
playsinlineA Boolean attribute indicating that the video is to be played "inline", that is within the element's playback area. Note that the absence of this attribute does not imply that the video will always be played in fullscreen.
huh, alright, maybe I don't need it then