diff --git a/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts b/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts index 8a24fca74f..f34d09d475 100644 --- a/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts +++ b/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts @@ -23,5 +23,8 @@ export {JitCompilerFactory} from './compiler_factory'; export const RESOURCE_CACHE_PROVIDER: Provider[] = [{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}]; +/** + * @publicApi + */ export const platformBrowserDynamic = createPlatformFactory( platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS); diff --git a/packages/platform-browser-dynamic/src/platform_providers.ts b/packages/platform-browser-dynamic/src/platform_providers.ts index f477ee77b7..9a19dfd935 100644 --- a/packages/platform-browser-dynamic/src/platform_providers.ts +++ b/packages/platform-browser-dynamic/src/platform_providers.ts @@ -14,6 +14,9 @@ import {ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as INTERNAL_BROWSER_PLATFORM_PROVI import {ResourceLoaderImpl} from './resource_loader/resource_loader_impl'; +/** + * @publicApi + */ export const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[] = [ INTERNAL_BROWSER_PLATFORM_PROVIDERS, { diff --git a/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts b/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts index 4fb4d71c90..a5a2ea6159 100644 --- a/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts +++ b/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts @@ -15,6 +15,8 @@ import {ɵglobal as global} from '@angular/core'; * * The template cache needs to be built and loaded into window.$templateCache * via a separate mechanism. + * + * @publicApi */ export class CachedResourceLoader extends ResourceLoader { private _cache: {[url: string]: string}; diff --git a/packages/platform-browser-dynamic/src/version.ts b/packages/platform-browser-dynamic/src/version.ts index af66f0fa27..9469ebe5e5 100644 --- a/packages/platform-browser-dynamic/src/version.ts +++ b/packages/platform-browser-dynamic/src/version.ts @@ -14,4 +14,7 @@ import {Version} from '@angular/core'; +/** + * @publicApi + */ export const VERSION = new Version('0.0.0-PLACEHOLDER'); diff --git a/packages/platform-browser-dynamic/testing/src/testing.ts b/packages/platform-browser-dynamic/testing/src/testing.ts index d849378d81..9454590a91 100644 --- a/packages/platform-browser-dynamic/testing/src/testing.ts +++ b/packages/platform-browser-dynamic/testing/src/testing.ts @@ -16,6 +16,9 @@ import {platformCoreDynamicTesting} from './platform_core_dynamic_testing'; export * from './private_export_testing'; +/** + * @publicApi + */ export const platformBrowserDynamicTesting = createPlatformFactory( platformCoreDynamicTesting, 'browserDynamicTesting', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS); @@ -23,7 +26,7 @@ export const platformBrowserDynamicTesting = createPlatformFactory( /** * NgModule for testing. * - * + * @publicApi */ @NgModule({ exports: [BrowserTestingModule], diff --git a/tools/public_api_guard/platform-browser-dynamic/platform-browser-dynamic.d.ts b/tools/public_api_guard/platform-browser-dynamic/platform-browser-dynamic.d.ts index 6fa4010bc1..5ce1bab855 100644 --- a/tools/public_api_guard/platform-browser-dynamic/platform-browser-dynamic.d.ts +++ b/tools/public_api_guard/platform-browser-dynamic/platform-browser-dynamic.d.ts @@ -1,11 +1,9 @@ -/** @experimental */ export declare class JitCompilerFactory implements CompilerFactory { createCompiler(options?: CompilerOptions[]): Compiler; } export declare const platformBrowserDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef; -/** @experimental */ export declare const RESOURCE_CACHE_PROVIDER: Provider[]; export declare const VERSION: Version;