We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e7e80 commit 2279053Copy full SHA for 2279053
packages/astro/src/prefetch/index.ts
@@ -335,7 +335,7 @@ function onPageLoad(cb: () => void) {
335
*
336
* @param eagerness Hint to the browser as to how eagerly it should prefetch/prerender link targets
337
*/
338
-function appendSpeculationRules(url: string, eagerness: PrefetchOptions["eagerness"]) {
+function appendSpeculationRules(url: string, eagerness: PrefetchOptions['eagerness']) {
339
const script = document.createElement('script');
340
script.type = 'speculationrules';
341
script.textContent = JSON.stringify({
0 commit comments