Closed
Description
Describe the bug
IoEventContextToken
is not exported in the public API.
TS2305: Module '"ng-dynamic-component"' has no exported member 'IoEventContextToken'.
The following does not work :
import {IoEventContextToken} from "ng-dynamic-component";
Editor's import autocomplete generate the following instead :
import {IoEventContextToken} from "ng-dynamic-component/lib/io/event-context";
which produces the following error
Error: Module not found: Error: Package path ./lib/io/event-context is not exported from package /usr/src/app/node_modules/ng-dynamic-component (see exports field in /usr/src/app/node_modules/ng-dynamic-component/package.json)
Expected behavior
IoEventContextToken
should be available from the public API and should be able to be imported like this :
import {IoEventContextToken} from "ng-dynamic-component";
Reproduction
N/A
Environment:
- OS: Debian 12
- Browser: chrome
- Library version: 10.6.1
- Angular version: 15.1.0
Additional context
N/A