https://github.com/angular/angular
Raw File
Tip revision: d9d70f0a6fcded2a6b8a2fcad152a201152749df authored by Andrew Kushnir on 28 June 2023, 14:59:33 UTC
release: cut the v16.1.3 release
Tip revision: d9d70f0
lib1.ts
import {Injectable, NgModule} from '@angular/core';

@NgModule({})
export class Lib1Module {}

@Injectable({providedIn: Lib1Module})
export class Service {
  static instance = 0;
  readonly instance = Service.instance++;
}
back to top