Skip to content

Typed initialize arguments #2

@cgcostume

Description

@cgcostume

Moved from webgl-operate

Since Typescript does not tell me what i should put in the initialize methods of the various classes. Is there a way to find that out reliably? Right now i am just looking the examples up.
Maybe adding those to the code as a comment or a type would be helpful!
@milanpro

You can see the concrete arguments in the protected create method of each class (in the generated docs, choose Public/Protected at the top to see it).
We're aware that this is not the best interface and are considering to refactor the initialization so we can put the types directly on initialize.
@bwasty

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