mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
20 lines
433 B
TypeScript
20 lines
433 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC 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.dev/license
|
|
*/
|
|
|
|
import {Injectable, NgModule} from '@angular/core';
|
|
|
|
@NgModule({})
|
|
export class Lib1Module {}
|
|
|
|
@Injectable({
|
|
providedIn: Lib1Module,
|
|
})
|
|
export class Service {
|
|
static instanceCount = 0;
|
|
instance = Service.instanceCount++;
|
|
}
|