Skip to content

Don't let typescript get confused #114

@AdrienLemaire

Description

@AdrienLemaire

Can we add an equivalent to the flow setup for typescript ?

[options]
module.name_mapper='^{rootPathPrefix}/\(.*\)$' -> '<PROJECT_ROOT>/{rootPathSuffix}/\1'

Being new to typescript, I'm not sure how this should be solved.

TS2307: Cannot find module '~/constants'.
Version: typescript 3.1.6      

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