pull/10442/head
Rich Harris 3 years ago
parent e5ed5e0351
commit c28f98ba92

@ -15,7 +15,7 @@ const attributes = {
'avoid-is': () => 'The "is" attribute is not supported cross-browser and should be avoided', 'avoid-is': () => 'The "is" attribute is not supported cross-browser and should be avoided',
/** @param {string} name */ /** @param {string} name */
'global-event-reference': (name) => 'global-event-reference': (name) =>
`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?`
}; };
/** @satisfies {Warnings} */ /** @satisfies {Warnings} */

Loading…
Cancel
Save