Previously, the `SwPush` API docs were using hard-coded code snippets. This commit switches to using code snippets from an actual example app, which ensures that the code shown in the docs will at least continue to compile successfully. PR Close #32139
		
			
				
	
	
		
			13 lines
		
	
	
		
			403 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			403 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /**
 | |
|  * @license
 | |
|  * Copyright Google Inc. All Rights Reserved.
 | |
|  *
 | |
|  * Use of this source code is governed by an MIT-style license that can be
 | |
|  * found in the LICENSE file at https://angular.io/license
 | |
|  */
 | |
| 
 | |
| import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
 | |
| import {AppModuleNgFactory} from './module.ngfactory';
 | |
| 
 | |
| platformBrowserDynamic().bootstrapModuleFactory(AppModuleNgFactory);
 |