https://github.com/angular/angular
Raw File
Tip revision: e726a63cdd17588ce53fb7eeaf829995ef941cc0 authored by Andrew Scott on 08 September 2021, 16:28:03 UTC
release: cut the v12.2.5 release (#43392)
Tip revision: e726a63
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