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
When I compile this project with tsc tsc can resolve and compile dependencies to a .js project distribution when project path is given. However I miss this feature currently given how new $ deno doc --html is, I think the command should resolve the .js files from .ts if .js doesnt exist because it seems this is what typescript team suggests and kind of implements internally.
The text was updated successfully, but these errors were encountered:
izelnakri
changed the title
Make $ deno doc --html read/resolve .js imports as .ts file if .js doesnt exist
Make $ deno doc --html read/resolve .js imports from .ts files if .js files dont exist
Nov 4, 2023
Currently I have one npm package where I declare
.ts
internal file imports as.js
due to a sad compatibility benefit I get here: https://github.com/izelnakri/memoria/blob/main/packages/%40memoria/model/src/index.ts#L1When I compile this project with
tsc
tsc can resolve and compile dependencies to a.js
project distribution when project path is given. However I miss this feature currently given how new$ deno doc --html
is, I think the command should resolve the.js
files from.ts
if.js
doesnt exist because it seems this is what typescript team suggests and kind of implements internally.Steps to reproduce
This should pass:
deno doc --html --name="@memoria/model" ./index.js
The text was updated successfully, but these errors were encountered: