@ideal-postcodes/jsutil
Version:
Browser Address Autocomplete for api.ideal-postcodes.co.uk
16 lines (15 loc) • 587 B
TypeScript
declare global {
interface Window {
IdealPostcodes: any;
jQuery: any;
}
}
export declare const clearCache: () => void;
interface Downloader {
(d?: Document): HTMLScriptElement;
}
export declare const downloadScript: (url: string, integrity: string) => Downloader;
export declare const loadStyle: (href: string, document: Document) => HTMLLinkElement;
export declare const loadScript: (src: string, integrity: string, document: Document) => HTMLScriptElement;
export declare const injectStyle: (css: string, document: Document) => HTMLStyleElement;
export {};