Error on using TypeScript
Error on using TypeScript
Hello,
i want to use Editor 2.0.5 with Typescript in my .net 5.0 ASP.Net-Application.
currently i get the errors on the file types.d.ts while compiling:
TS2304 (TS) Cannot find name 'classNames'.
TS2304 (TS) Cannot find name 'modelSettings'.
TS2304 (TS) Cannot find name 'publicApi'.
can anyone help?
best regards
Volkhard
Answers
Hi Volkhard,
Have you installed this package? It should install all the required type information in the
types
directory.Allan
Hello Allan,
the downloaded editor-directory contains an js/types.d.ts file (where this error comes from).
after install the editor-package i copied the tyoes-directory to the downloaded editor-directory and deleted the supplied js/types.d.ts file.
this works - is this correct?
best regards
Volkhard
Hi Volkhard,
Yes, there shouldn't be a
js/types.d.ts
file. I'll get that removed.Regards,
Allan