You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's actually the merge + check order that's the problem. Here's a single-file repro that's careful to delay checking of Workspace.Project = function wp() { } until after its type reference:
sandersn
changed the title
JSDoc type reference resolves incorrectly depending on order of compilation
JSDoc type reference resolves incorrectly if checked before the constructor function it refers to
Oct 24, 2019
Expected: no error, and
p.isServiceProject(): void
.Actual: no error if you compile
tsc mod1.js test.js
, but an error withtsc test.js mod1.js
:Property 'isServiceProject' does not exist on type 'typeof Project'.
From chrome-devtools-frontend, failed in #34603
The text was updated successfully, but these errors were encountered: