halb3 / halb3/canvas

Typed initialize arguments

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Moved from [webgl-operate](https://github.com/cginternals/webgl-operate/issues/141)

> 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.