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.
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.tsfile forCSInterfaceto get the TypeScript compiler to stop throwing errors on the linelet 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.