https://github.com/angular/angular
Raw File
Tip revision: c0a8c8fb4b2410f76c0a4b625b35e52cb2189248 authored by Jessica Janiuk on 24 May 2023, 17:31:37 UTC
release: cut the v16.0.3 release
Tip revision: c0a8c8f
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