Slide 24
Slide 24 text
%FQFOEFODJFT5ܕ
import { Type } from '@angular/core';
type MapToConstructorType = { [P in keyof T]: Type };
export type Dependencies<
T extends new (...args: any) => any
> = MapToConstructorType>;
w Router, TranslateService, UsersServiceΛ%*͢Δ
MyComponent͕͋ͬͨͱ͢Δ
w Dependencies
[typeof Router, typeof TranslateService, typeof
UsersService]ͱͷޓܕฦ͢