Skip to content

Typescript error on super.intialize #80

Open
@Baptiste-Garcin

Description

@Baptiste-Garcin

I have a typescript error when I try to implement an initialize method in my dataSource

image

So either the doc is wrong or the type for this method is missing in the index.d.ts.

I am a typescript newbie so I don't really know the good way to fix it. Should the initialize method be define in you index.d.ts ?
Does this error is normal and I should ensure the method exist before calling it ?

I can do a PR if we agree on the good way to do this

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions