[feat] add html typings (#7649)

This adds typings for HTML elements and their attributes. It's supposed to be used by the new transformation in language-tools.

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
Co-authored-by: Lyu, Wei-Da <36730922+jasonlyu123@users.noreply.github.com>
pull/8114/head
Simon H 3 years ago committed by GitHub
parent a0a6bd1f54
commit 512eda7a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,9 @@
# Svelte changelog
## Unreleased
* Add `svelte/elements` for HTML/Svelte typings ([#7649](https://github.com/sveltejs/svelte/pull/7649))
## 3.54.0
* Pass `options.direction` argument to custom transition functions ([#3918](https://github.com/sveltejs/svelte/issues/3918))

1581
elements/index.d.ts vendored

File diff suppressed because it is too large Load Diff

@ -0,0 +1,3 @@
{
"types": "./index.d.ts"
}

@ -17,6 +17,7 @@
"easing",
"motion",
"action",
"elements",
"README.md"
],
"exports": {
@ -75,6 +76,9 @@
"import": "./transition/index.mjs",
"require": "./transition/index.js"
},
"./elements": {
"types": "./elements/index.d.ts"
},
"./ssr": {
"types": "./types/runtime/index.d.ts",
"import": "./ssr.mjs",

Loading…
Cancel
Save