Skip to content

Commit ece367e

Browse files
committed
filename
1 parent e78c138 commit ece367e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

documentation/docs/06-runtime/02-context.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Svelte will warn you if you get it wrong.
8686
A useful pattern is to wrap the calls to `setContext` and `getContext` inside helper functions that let you preserve type safety:
8787

8888
```js
89+
/// file: context.js
8990
// @filename: ambient.d.ts
9091
interface User {}
9192

0 commit comments

Comments
 (0)