minor edit - "as" -> "with"

pull/8478/head
James Scott-Brown 3 years ago committed by GitHub
parent 8bc0a8d185
commit be4d0c51db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -286,7 +286,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 as e.g.
// the export keyword allows this function to imported with e.g.
// `import Example, { alertTotal } from './Example.svelte'`
export function alertTotal() {
alert(totalComponents);

Loading…
Cancel
Save