pull/11922/head
Mikołaj Olejnik 5 months ago committed by GitHub
parent 8892078091
commit 32ebc46915
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -265,7 +265,7 @@ You cannot `export default`, since the default export is the component itself.
<script context="module">
let totalComponents = 0;
// the export keyword allows this function to imported with e.g.
// the export keyword allows this function to be imported with e.g.
// `import Example, { alertTotal } from './Example.svelte'`
export function alertTotal() {
alert(totalComponents);

Loading…
Cancel
Save