Skip to content

Commit cd690e0

Browse files
docs: clarify meaning of "this" in a comment (#8478)
1 parent 56351a3 commit cd690e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/02-component-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ You cannot `export default`, since the default export is the component itself.
286286
<script context="module">
287287
let totalComponents = 0;
288288
289-
// this allows an importer to do e.g.
289+
// the export keyword allows this function to imported with e.g.
290290
// `import Example, { alertTotal } from './Example.svelte'`
291291
export function alertTotal() {
292292
alert(totalComponents);

0 commit comments

Comments
 (0)