docs: update service-worker to use @publicApi tags (#26595)

PR Close #26595
This commit is contained in:
Pete Bacon Darwin
2018-10-19 18:29:16 +01:00
committed by Alex Rickabaugh
parent 13143b850e
commit 00c7db02d1
2 changed files with 0 additions and 12 deletions

View File

@ -1,4 +1,3 @@
/** @experimental */
export interface AssetGroup {
installMode?: 'prefetch' | 'lazy';
name: string;
@ -10,7 +9,6 @@ export interface AssetGroup {
updateMode?: 'prefetch' | 'lazy';
}
/** @experimental */
export interface Config {
appData?: {};
assetGroups?: AssetGroup[];
@ -19,7 +17,6 @@ export interface Config {
navigationUrls?: string[];
}
/** @experimental */
export interface DataGroup {
cacheConfig: {
maxSize: number;
@ -32,10 +29,8 @@ export interface DataGroup {
version?: number;
}
/** @experimental */
export declare type Duration = string;
/** @experimental */
export interface Filesystem {
hash(file: string): Promise<string>;
list(dir: string): Promise<string[]>;
@ -43,12 +38,10 @@ export interface Filesystem {
write(file: string, contents: string): Promise<void>;
}
/** @experimental */
export declare class Generator {
readonly fs: Filesystem;
constructor(fs: Filesystem, baseHref: string);
process(config: Config): Promise<Object>;
}
/** @experimental */
export declare type Glob = string;