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
{{ message }}
Repository navigation
[api-extractor] ERROR: Failed to fetch entity for import() type node: import("../_namespaces/ts").PrivateIdentifier #3612
I am in the final stages of converting TypeScript itself into modules (from its current state as giant namespaces). To reproduce something similar to our current d.ts files, I am running api-extractor on our d.ts files to try and roll things up.
I'm currently investigating why we are even emitting these import nodes in the first place; most things can be imported normally, but sometimes we don't for some reason.
I hand replaced all of the weird import nodes, which got me further, but to another error:
ERROR: Internal Error: Unable to follow symbol for "ModifierSyntaxKind"
You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
Ah, no, the previous comment is my error incurred by hand-replacing things (a little too annoying to script). It wasn't imported properly, though it's an odd error given it is an internal error rather than something else. It seems like these import nodes are the main problem.
It did in fact finish running after fixing my oops, which is a great sign! I'll have to check to see how the output looks; very exciting.
Activity
jakebailey commentedon Sep 2, 2022
I'm currently investigating why we are even emitting these import nodes in the first place; most things can be imported normally, but sometimes we don't for some reason.
jakebailey commentedon Sep 3, 2022
I hand replaced all of the weird import nodes, which got me further, but to another error:
jakebailey commentedon Sep 3, 2022
Ah, no, the previous comment is my error incurred by hand-replacing things (a little too annoying to script). It wasn't imported properly, though it's an odd error given it is an internal error rather than something else. It seems like these import nodes are the main problem.
It did in fact finish running after fixing my oops, which is a great sign! I'll have to check to see how the output looks; very exciting.