Open m-bock opened 3 years ago
I think this is overall a matter of preference, but the purpose of docs-ts
in my opinion is to output documentation that somewhat mirrors the structure of your source code. I think having the .ts
extension in the sidebar is helpful for figuring out what file in the source code the Markdown document is referring to (even though it should be pretty obvious).
So I would vote to keep the .ts
extension.
I'd argue otherwise @IMax153.
Taking fp-ts as an example, I import from fp-ts/Option
, not fp-ts/Option.ts
. The file extension is in a sense an implementation detail only relevant to the bundler or engine.
Another small one:
Should we omit the
.ts
in the generated module names in the sidebar?