Skip to content

types for lacosta-method-hooks mixin are missing #87

@diavrank

Description

@diavrank

Hello, I am using lacosta:method-hooks mixin for my validated methods and I am also using typescript, but I am getting an error related to types definitions because validated-method types don't recognize beforeHooks and afterHooks properties in options object of the validated method. So, I was wondering if anyone knows how to create a type's definition for this package of lacosta:method-hooks.

image

Btw, I am using @types/meteor-mdg-validated-method correctly in my tsconfig.json file:

...
    "types": ["node", "mocha", "jest",
      "@types/meteor-collection-hooks",
      "@types/meteor-dburles-collection-helpers",
      "@types/meteor-mdg-validated-method"
    ],
...

So, it just missing to fix that error about mixins.

I will be very glad about that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions