mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add bug number and accept baselines
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
//// [tests/cases/compiler/importPropertyFromMappedType.ts] ////
|
||||
|
||||
//// [errors.d.ts]
|
||||
// #42957
|
||||
|
||||
export = createHttpError;
|
||||
declare const createHttpError: createHttpError.NamedConstructors;
|
||||
declare namespace createHttpError {
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
=== tests/cases/compiler/errors.d.ts ===
|
||||
// #42957
|
||||
|
||||
export = createHttpError;
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65))
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65))
|
||||
|
||||
declare const createHttpError: createHttpError.NamedConstructors;
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65))
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65))
|
||||
>NamedConstructors : Symbol(createHttpError.NamedConstructors, Decl(errors.d.ts, 2, 35))
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65))
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65))
|
||||
>NamedConstructors : Symbol(createHttpError.NamedConstructors, Decl(errors.d.ts, 4, 35))
|
||||
|
||||
declare namespace createHttpError {
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 1, 13), Decl(errors.d.ts, 1, 65))
|
||||
>createHttpError : Symbol(createHttpError, Decl(errors.d.ts, 3, 13), Decl(errors.d.ts, 3, 65))
|
||||
|
||||
type NamedConstructors = { [P in 'NotFound']: unknown;}
|
||||
>NamedConstructors : Symbol(NamedConstructors, Decl(errors.d.ts, 2, 35))
|
||||
>P : Symbol(P, Decl(errors.d.ts, 3, 33))
|
||||
>NamedConstructors : Symbol(NamedConstructors, Decl(errors.d.ts, 4, 35))
|
||||
>P : Symbol(P, Decl(errors.d.ts, 5, 33))
|
||||
}
|
||||
|
||||
=== tests/cases/compiler/main.ts ===
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
=== tests/cases/compiler/errors.d.ts ===
|
||||
// #42957
|
||||
|
||||
export = createHttpError;
|
||||
>createHttpError : createHttpError.NamedConstructors
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// #
|
||||
// #42957
|
||||
|
||||
// @filename: errors.d.ts
|
||||
export = createHttpError;
|
||||
|
||||
Reference in New Issue
Block a user