cache-buster-react
Version:
This package allows clients to automatically check the new version when a new version is released in the production environment, and if a new version is published, clearing the cache and reload the page.
19 lines (18 loc) • 582 B
TypeScript
export function CacheBuster({ children, currentVersion, isEnabled, isVerboseMode, loadingComponent, basePath, }: {
children?: any;
currentVersion: any;
isEnabled?: boolean;
isVerboseMode?: boolean;
loadingComponent?: any;
basePath?: string;
}): any;
export namespace CacheBuster {
export namespace propTypes {
export const children: any;
export const currentVersion: any;
export const isEnabled: any;
export const isVerboseMode: any;
export const loadingComponent: any;
export const basePath: any;
}
}