-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
Describe the bug
In the example code below, the hover definition for forkJoin
displays a description about the any
type, even when the any
type is not used.
You have passed any here, we can't figure out if it is an array or an object, so you're getting unknown. Use better types.
In the example below, TypeScript inferred a tuple type [number, number]
.
Expected behavior
Hover definition for forkJoin
displays the main/standard documentation definition for forkJoin
.
Reproduction code
import { forkJoin, of } from 'rxjs'
forkJoin([of(1), of(2)])
Reproduction URL
No response
Version
7.5.7
Environment
Visual Studio Code (latest version - v1.7.2)
TypeScript bundled with VS Code (v4.8.4)
Additional context
No response
dangrussell, rubiesonthesky, a-boertien, H-s-O, GeoffreyDlvl and 1 more
Metadata
Metadata
Assignees
Labels
No labels