DenoDDeno
Powered by
Patrick (he/him)P
Denoβ€’3y agoβ€’
15 replies
Patrick (he/him)

deno check: Module '"internal:///missing_dependency.d.ts"' has no exported member...

The sequence of events:
- Upgraded to Deno 1.35.0
- ran
deno check
deno check
on my code
- got an error like the one described in https://github.com/denoland/deno/issues/11196 (AssertionError: data unexpectedly null)
- tried the suggestion from that issue, namely replaced
path
path
with
types
types
in my triple slash reference comments
- reran
deno check
deno check

- got the above error, the exported member being something that is declared in a file referenced by one of the above triple slash comments

Can provide more details and create a GitHub issue but wanted to post here in case folks are already on it.
GitHub
AssertionError where "data" is unexpectedly null when a file contai...
A.d.ts declare class Test { } test.ts /// <reference path="./A.d.ts" /> Output > deno run test.ts Check file:///V:/dprint-plugins/test.ts error: AssertionError: "data" ...
AssertionError where "data" is unexpectedly null when a file contai...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

'dayjs' has no exported member named type Dayjs.
Ignacio UtrillaIIgnacio Utrilla / help
16mo ago
Include d.ts only module with global module
hiyayakk0Hhiyayakk0 / help
17mo ago
how to import cdn deno module with dependency
Aiden.HuangAAiden.Huang / help
3mo ago
Deno ts
SmorSSmor / help
3y ago