Skip to content

Instantly share code, notes, and snippets.

@NetanelBasal
Last active September 2, 2022 06:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NetanelBasal/169411c666113d72e6fb7d237b1a6cbb to your computer and use it in GitHub Desktop.
Save NetanelBasal/169411c666113d72e6fb7d237b1a6cbb to your computer and use it in GitHub Desktop.
export class AppComponent {
constructor(
@Inject(FOO) private foo: string,
@Optional() @Inject(BAR) private bar: string | null,
private http: HttpClient,
private todosService: TodosService
) { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment