Skip to content

Add validation on hooks definition #1

Open
@russiann

Description

@russiann

Actually we have two types of bundle hooks definition:

One (normal methods):

{
  methodOne: [function,function],
  methodTwo: [function, function]
}

Two (getters and setters):

{
  methodOne: [function, function],
  methodTwo: {
    get: [function, function],
    set: [function, function]
  }
}

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