Skip to content

Question about namespace declarations #7

Open
@batusai513

Description

@batusai513

Hi, I'am checking this repo for resources on how to estructure a TS project and I saw something interesting, https://github.com/piotrwitek/react-redux-typescript-realworld-app/blob/master/src/services/types.d.ts you are declaring all your types inside a namespace, I was trying to replicate this on my app created with create-react-app but I'm getting a module not found error, so I wanted to ask how do you make those namespace declarations import works in here.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions