Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Typescript type of SparkyContext's "target" param is incorrect #1464

@bmatcuk

Description

@bmatcuk

According to the documentation and confirmed in code, the SparkyContext should be able to take a class, a function returning a plain object, or a plain object. However, the typescript type of the target param says that target must be a function that returns a plain object, a class, or a plain object (duplicated). Seems to just be an issue of incorrect curly brace placement. PR incoming...

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