mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Accepted baselines for the only test that was expected to pass.
This commit is contained in:
parent
21256a9de5
commit
e800e29af7
@ -0,0 +1,12 @@
|
||||
//// [functionDeclarationWithResolutionOfTypeOfSameName01.ts]
|
||||
interface f {
|
||||
}
|
||||
|
||||
function f() {
|
||||
<f>f;
|
||||
}
|
||||
|
||||
//// [functionDeclarationWithResolutionOfTypeOfSameName01.js]
|
||||
function f() {
|
||||
f;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
=== tests/cases/compiler/functionDeclarationWithResolutionOfTypeOfSameName01.ts ===
|
||||
interface f {
|
||||
>f : Symbol(f, Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 0, 0), Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 1, 1))
|
||||
}
|
||||
|
||||
function f() {
|
||||
>f : Symbol(f, Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 0, 0), Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 1, 1))
|
||||
|
||||
<f>f;
|
||||
>f : Symbol(f, Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 0, 0), Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 1, 1))
|
||||
>f : Symbol(f, Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 0, 0), Decl(functionDeclarationWithResolutionOfTypeOfSameName01.ts, 1, 1))
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
=== tests/cases/compiler/functionDeclarationWithResolutionOfTypeOfSameName01.ts ===
|
||||
interface f {
|
||||
>f : f
|
||||
}
|
||||
|
||||
function f() {
|
||||
>f : () => void
|
||||
|
||||
<f>f;
|
||||
><f>f : f
|
||||
>f : f
|
||||
>f : () => void
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user