From ff76531bd6b9909b84ecdb05df70bd8444d76827 Mon Sep 17 00:00:00 2001 From: gtmnayan <50981692+gtm-nayan@users.noreply.github.com> Date: Sun, 9 Jul 2023 08:14:09 +0545 Subject: [PATCH 1/2] fix: correct contributors image file name (#8942) --- sites/svelte.dev/scripts/get_contributors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/svelte.dev/scripts/get_contributors.js b/sites/svelte.dev/scripts/get_contributors.js index 2949dea5df..70e66327b3 100644 --- a/sites/svelte.dev/scripts/get_contributors.js +++ b/sites/svelte.dev/scripts/get_contributors.js @@ -65,7 +65,7 @@ try { await sprite .quality(80) .writeAsync( - new URL(`../src/routes/_components/Supporters/contributors.jpeg`, import.meta.url).pathname + new URL(`../src/routes/_components/Supporters/contributors.jpg`, import.meta.url).pathname ); // TODO: Optimizing the static/contributors.jpg image should probably get automated as well From 02099d9d75ca561e96f637d04c3619d73139947a Mon Sep 17 00:00:00 2001 From: Enrico Sacchetti Date: Sat, 8 Jul 2023 22:31:41 -0400 Subject: [PATCH 2/2] docs: update Typescript elements link (#8938) --- documentation/docs/05-misc/03-typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/05-misc/03-typescript.md b/documentation/docs/05-misc/03-typescript.md index 778e13ce37..dd6020b764 100644 --- a/documentation/docs/05-misc/03-typescript.md +++ b/documentation/docs/05-misc/03-typescript.md @@ -117,7 +117,7 @@ Events can be typed with `createEventDispatcher`: ## Enhancing built-in DOM types -Svelte provides a best effort of all the HTML DOM types that exist. Sometimes you may want to use experimental attributes or custom events coming from an action. In these cases, TypeScript will throw a type error, saying that it does not know these types. If it's a non-experimental standard attribute/event, this may very well be a missing typing from our [HTML typings](https://github.com/sveltejs/svelte/blob/master/elements/index.d.ts). In that case, you are welcome to open an issue and/or a PR fixing it. +Svelte provides a best effort of all the HTML DOM types that exist. Sometimes you may want to use experimental attributes or custom events coming from an action. In these cases, TypeScript will throw a type error, saying that it does not know these types. If it's a non-experimental standard attribute/event, this may very well be a missing typing from our [HTML typings](https://github.com/sveltejs/svelte/blob/master/packages/svelte/elements.d.ts). In that case, you are welcome to open an issue and/or a PR fixing it. In case this is a custom or experimental attribute/event, you can enhance the typings like this: