Skip to content

effector-logger/attach is not exist, only /dist/attach works #59

@domosedov

Description

@domosedov
import { attachLogger } from 'effector-logger/attach';
Could not find a declaration file for module 'effector-logger/attach'. '/node_modules/effector-logger/attach.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/effector-logger` if it exists or add a new declaration (.d.ts) file containing `declare module 'effector-logger/attach';`ts(7016)

Works as expected

import { attachLogger } from 'effector-logger/dist/attach';

node

14.16.1

typescript

4.4.3

effector

22.1.1

effector-logger

0.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions