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
I traced the issue back to 3.6.2. In 3.5 it uses the relative path of the file which does not break.
Playground Link:
The text was updated successfully, but these errors were encountered:
elevatebart
changed the title
TS create an invalid reference in declarations
TSC creates an invalid triple slash reference in declarations
Mar 12, 2020
TypeScript Version: 3.6.2 - 3.8.3
declarations, reference, invalid, optimisations
Code
Repro Repo
Clone the repo, install using yarn (or npm) and run the
compile:types
scriptExpected behavior:
lib/client/rsg-components/slots/index.d.ts
should beActual behavior:
Instead there is a line added here line #2 that complains as invalid.
I traced the issue back to 3.6.2. In 3.5 it uses the relative path of the file which does not break.
Playground Link:
The text was updated successfully, but these errors were encountered: