jsverse/transloco-keys-manager

Can't import marker function

Closed this issue · 2 comments

Hello,

After upgrading the lib to the last version (4.0.0), I cant' import the marker function in my typescript files.

I tried this import:

import { marker } from '@jsverse/transloco-keys-manager/marker';

with this result:

Error: Module not found: Error: Package path ./marker is not exported from package /app/node_modules/@jsverse/transloco-keys-manager (see exports field in /app/node_modules/@jsverse/transloco-keys-manager/package.json)

And this import:

import { marker } from '@jsverse/transloco-keys-manager';

with this result:

error TS2305: Module '"@jsverse/transloco-keys-manager"' has no exported member 'marker'.

Am I doing something wrong or is there an issue with this commit ?

Thanks!

You should be able to import it from the root, I'll take a look later today.

This may be related, but I also can't import TranslocoExtractKeysWebpackPlugin from v4.0.0.