11 lines
420 B
Plaintext
11 lines
420 B
Plaintext
==== tests/cases/compiler/crashIntypeCheckObjectCreationExpression.ts (1 errors) ====
|
|
export class BuildWorkspaceService {
|
|
public injectRequestService<P0, P1, P2>(service: P0) {
|
|
this.injectBuildService<number>(new X(service));
|
|
~
|
|
!!! Cannot find name 'X'.
|
|
}
|
|
public injectBuildService<P0>(service: P0) {
|
|
}
|
|
}
|
|
|