-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
I got this problem when I try to compile my angular app (angular 13) I have the following error.
node_modules/@angular-react/core/src/lib/components/wrapper-component.d.ts:1:23 - error TS2688: Cannot find type definition file for 'libs/core/src/lib/@types/geteventlisteners'.
1 /// <reference types="libs/core/src/lib/@types/geteventlisteners" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When I look into the libray downloaded by npm https://registry.npmjs.org/@angular-react/core/-/core-4.1.0.tgz I don't found the folder types in core. Moreover the path seems wrong in lib and not in the code
| /// <reference path="../@types/geteventlisteners.d.ts" /> |
After investigation it's because
d.ts files are not embedded during compilation process.
So I forked the project to propose you an update of the lib to have the right compilation and avoid to have this error.
Metadata
Metadata
Assignees
Labels
No labels