Should not export functions that are not imported (#27222)

These functions are not imported anywhere and should have not been
exported to begin with
This commit is contained in:
Josh Story
2023-08-14 10:06:46 -07:00
committed by GitHub
parent 1a001dac62
commit 5ad8ef5772
@@ -5014,7 +5014,7 @@ function getResourceKey(as: string, href: string): string {
return `[${as}]${href}`;
}
export function prefetchDNS(href: string, options?: ?PrefetchDNSOptions) {
function prefetchDNS(href: string, options?: ?PrefetchDNSOptions) {
if (!enableFloat) {
return;
}
@@ -5073,7 +5073,7 @@ export function prefetchDNS(href: string, options?: ?PrefetchDNSOptions) {
}
}
export function preconnect(href: string, options?: ?PreconnectOptions) {
function preconnect(href: string, options?: ?PreconnectOptions) {
if (!enableFloat) {
return;
}
@@ -5136,7 +5136,7 @@ export function preconnect(href: string, options?: ?PreconnectOptions) {
}
}
export function preload(href: string, options: PreloadOptions) {
function preload(href: string, options: PreloadOptions) {
if (!enableFloat) {
return;
}