TS Template added by Matt Bierner (@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 is Bar, but actually it was Foo

It's also happened in Signature help.

Does this issue occur when all extensions are disabled?: Yes
TS Template added by Matt Bierner (@mjbvz)
TypeScript Version: 3.9.3
Search Terms
Steps to Reproduce:
Here I defined two type aliases,
FooandBar.Both have the same parameters,
string | number.someFuncand show popupbarisBar, but actually it wasFooIt's also happened in Signature help.
Does this issue occur when all extensions are disabled?: Yes