Reference

preload

Inserts a preload link for the provided resource if it is not already present.

Signature

function preload(href: string, options: PreloadOptions): void