docs: update platform-browser-dynamic to use @publicApi tags (#26595)
				
					
				
			PR Close #26595
This commit is contained in:
		
							parent
							
								
									3511f08a81
								
							
						
					
					
						commit
						f1e3d5125d
					
				| @ -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); | ||||
|  | ||||
| @ -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, | ||||
|   { | ||||
|  | ||||
| @ -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}; | ||||
|  | ||||
| @ -14,4 +14,7 @@ | ||||
| 
 | ||||
| import {Version} from '@angular/core'; | ||||
| 
 | ||||
| /** | ||||
|  * @publicApi | ||||
|  */ | ||||
| export const VERSION = new Version('0.0.0-PLACEHOLDER'); | ||||
|  | ||||
| @ -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], | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user