Skip to content

Commit

Permalink
Fixed typo (#11907)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolalaj authored Jun 4, 2024
1 parent 8892078 commit 32ebc46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 32ebc46

Please sign in to comment.