Suppose we have the following code:
type foo<'a> = { content: 'a }
type intFoo = foo<int>
let x1: foo<int> = { content: 42 }
let x2: intFoo = { content: 42 }
If I type Js.log(x1., autocompletion is triggered and the field content is suggested. However, if I type Js.log(x2., autocompletion is not triggered.
Is this an intended behavior? I think it would be more convenient if autocompletion is triggered for x2 too.