We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ed5e0 commit c28f98bCopy full SHA for c28f98b
packages/svelte/src/compiler/warnings.js
@@ -15,7 +15,7 @@ const attributes = {
15
'avoid-is': () => 'The "is" attribute is not supported cross-browser and should be avoided',
16
/** @param {string} name */
17
'global-event-reference': (name) =>
18
- `You are referencing the global property window.${name}. Did you forget to declare a variable with that name?`
+ `You are referencing globalThis.${name}. Did you forget to declare a variable with that name?`
19
};
20
21
/** @satisfies {Warnings} */
0 commit comments