Skip to content

It's not clear how to run this on TypeScript files (f.e. it produces empty docs) #1272

Closed
@trusktr

Description

@trusktr

Gleening from some examples in the issues, I'm running

documentation serve ./src/index.js --parse-extension ts

and src/index.js has an export * from './components' where the ./components folder has index.ts, and I get

Error: Cannot find module './components' from '/Users/trusktr/src/infamous+infamous/src'

Then I tried

documentation serve ./src/index.js --parse-extension ts --require-extension=.ts

and that got me to

Error: Cannot combine flow and typescript plugins.

It'd be sweet if the documentation has all the deets on running this on TypeScript. The word "typescript" doesn't seem to be found anywhere in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions