8000 How do I use with react js? · Issue #118 · dsherret/ts-nameof · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How do I use with react js? #118
Open
@MassMessage

Description

@MassMessage

I did install and declared it as global function, like below. However, when I went to use it, I get an undefined symbol. What am I missing? do I still need to import it beside making it global? I'm also new to react js.

installed with npm install ts-nameof @types/ts-nameof --save-dev and marked as global with npm install @types/ts-nameof --save-dev

UPDATE: it seems I do have to use ttypescript? does this mess up with tsconfig.json somewhat?

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

      0