denoland / doc_website

Archived. New version at https://github.com/denoland/docland
https://doc.deno.land/
MIT License
194 stars 42 forks source link

failing to generate on valid d.ts file #255

Open brianleroux opened 3 years ago

brianleroux commented 3 years ago

deno doc path/to/file.d.ts works fine; same file once deployed giving the following error:

[0mDownload https://example/blah@0.1.0/mod.d.ts
error: Expected ';', '}' or <eof> at https://example/blah@0.1.0/mod.d.ts:1:8

my version(s)

deno 1.15.3 (release, x86_64-apple-darwin)
v8 9.5.172.19
typescript 4.4.2
kitsonk commented 3 years ago

What does a curl -I https://example/blah@0.1.0/mod.d.ts look like? It might be that we are mis-typing the .d.ts file.