mirror of https://github.com/abpframework/abp.git
2 changed files with 5 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||
import { TemplateRef, Type } from '@angular/core'; |
|||
|
|||
export type InferedInstanceOf<T> = T extends Type<infer U> ? U : never; |
|||
export type InferedContextOf<T> = T extends TemplateRef<infer U> ? U : never; |
|||
Loading…
Reference in new issue