mirror of
https://github.com/withastro/astro.git
synced 2025-04-14 23:51:49 -05:00
[ci] format
This commit is contained in:
parent
21e7e8077d
commit
2279053954
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ function onPageLoad(cb: () => void) {
|
|||
*
|
||||
* @param eagerness Hint to the browser as to how eagerly it should prefetch/prerender link targets
|
||||
*/
|
||||
function appendSpeculationRules(url: string, eagerness: PrefetchOptions["eagerness"]) {
|
||||
function appendSpeculationRules(url: string, eagerness: PrefetchOptions['eagerness']) {
|
||||
const script = document.createElement('script');
|
||||
script.type = 'speculationrules';
|
||||
script.textContent = JSON.stringify({
|
||||
|
|
Loading…
Add table
Reference in a new issue