14 lines
No EOL
547 B
Text
14 lines
No EOL
547 B
Text
tests/cases/compiler/crashIntypeCheckObjectCreationExpression.ts(3,45): error TS2304: Cannot find name 'X'.
|
|
|
|
|
|
==== tests/cases/compiler/crashIntypeCheckObjectCreationExpression.ts (1 errors) ====
|
|
export class BuildWorkspaceService {
|
|
public injectRequestService<P0, P1, P2>(service: P0) {
|
|
this.injectBuildService<number>(new X(service));
|
|
~
|
|
!!! error TS2304: Cannot find name 'X'.
|
|
}
|
|
public injectBuildService<P0>(service: P0) {
|
|
}
|
|
}
|
|
|