Skip to content

Commit c28f98b

Browse files
committed
tweak
1 parent e5ed5e0 commit c28f98b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/warnings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const attributes = {
1515
'avoid-is': () => 'The "is" attribute is not supported cross-browser and should be avoided',
1616
/** @param {string} name */
1717
'global-event-reference': (name) =>
18-
`You are referencing the global property window.${name}. Did you forget to declare a variable with that name?`
18+
`You are referencing globalThis.${name}. Did you forget to declare a variable with that name?`
1919
};
2020

2121
/** @satisfies {Warnings} */

0 commit comments

Comments
 (0)