|
1 | 1 | === tests/cases/compiler/errors.d.ts ===
|
| 2 | +// #42957 |
| 3 | + |
2 | 4 | export = createHttpError;
|
3 |
| ->createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65)) |
| 5 | +>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65)) |
4 | 6 |
|
5 | 7 | declare const createHttpError: createHttpError.NamedConstructors;
|
6 |
| ->createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65)) |
7 |
| ->createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65)) |
8 |
| ->NamedConstructors : Symbol(createHttpError.NamedConstructors, Decl(errors.d.ts, 2, 35)) |
| 8 | +>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65)) |
| 9 | +>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65)) |
| 10 | +>NamedConstructors : Symbol(createHttpError.NamedConstructors, Decl(errors.d.ts, 4, 35)) |
9 | 11 |
|
10 | 12 | declare namespace createHttpError {
|
11 |
| ->createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65)) |
| 13 | +>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65)) |
12 | 14 |
|
13 | 15 | type NamedConstructors = { [P in 'NotFound']: unknown;}
|
14 |
| ->NamedConstructors : Symbol(NamedConstructors, Decl(errors.d.ts, 2, 35)) |
15 |
| ->P : Symbol(P, Decl(errors.d.ts, 3, 33)) |
| 16 | +>NamedConstructors : Symbol(NamedConstructors, Decl(errors.d.ts, 4, 35)) |
| 17 | +>P : Symbol(P, Decl(errors.d.ts, 5, 33)) |
16 | 18 | }
|
17 | 19 |
|
18 | 20 | === tests/cases/compiler/main.ts ===
|
|
0 commit comments