Closed
Description
TS Template added by @mjbvz
TypeScript Version: 3.9.3
Search Terms
- quick info
- alias / aliases
- VSCode Version: 1.45.1
- OS Version: Darwin x64 18.7.0
Steps to Reproduce:
- Write the following TypeScript code
type Foo = string | number;
type Bar = string | number;
function someFunc(params: {
foo: Foo,
bar: Bar,
}) {
//
}
// then try to call the function `someFunc`
someFunc(
Here I defined two type aliases, Foo
and Bar
.
Both have the same parameters, string | number
.
- Hover over the
someFunc
and show popup - The expected type of parameter
bar
isBar
, but actually it wasFoo
It's also happened in Signature help.
Does this issue occur when all extensions are disabled?: Yes