1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
=== tests/cases/compiler/crashIntypeCheckObjectCreationExpression.ts ===
export class BuildWorkspaceService {
>BuildWorkspaceService : BuildWorkspaceService
public injectRequestService<P0, P1, P2>(service: P0) {
>injectRequestService : <P0, P1, P2>(service: P0) => void
>service : P0
this.injectBuildService<number>(new X(service));
>this.injectBuildService<number>(new X(service)) : void
>this.injectBuildService : <P0>(service: P0) => void
>this : this
>injectBuildService : <P0>(service: P0) => void
>new X(service) : any
>X : any
>service : P0
}
public injectBuildService<P0>(service: P0) {
>injectBuildService : <P0>(service: P0) => void
>service : P0
}
}
|