Skip to content

How to implement? #5

@SturmB

Description

@SturmB

Please forgive me for asking this question, which may seem extraordinarily basic. I am new to TypeScript and Adobe CEP.

After downloading this package via npm (or yarn, in my case), how is it used?

I know I needed that .d.ts file for CSInterface to get the TypeScript compiler to stop throwing errors on the line let csInterface = new CSInterface();, but how?

I thought perhaps adding import * as CSInterface from "/node_modules/csinterface-ts/dist/csinterface-ts"; at the top of my TS file would work, but it just shifts the error message to that line and gives me a different one.

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