Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PhantomData type #63

Open
sidiousvic opened this issue Jul 28, 2020 · 0 comments
Open

Implement PhantomData type #63

sidiousvic opened this issue Jul 28, 2020 · 0 comments
Assignees
Labels
💅🏼 enhancement New feature or request 👻 phantom This applies to the phantom engine 🗜 types This issue is related to Typescript

Comments

@sidiousvic
Copy link
Owner

After Phantom v3, there will be a crucial PhantomData type which will allow user-defined properties to be added to a PhantomComponent's instance.

It would be ideas to create type PhantomData in such a way that it will not allow users to shadow or mis-type default properties of PhantomComponent.

@sidiousvic sidiousvic added 💅🏼 enhancement New feature or request 👻 phantom This applies to the phantom engine 🗜 types This issue is related to Typescript labels Jul 28, 2020
@sidiousvic sidiousvic self-assigned this Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💅🏼 enhancement New feature or request 👻 phantom This applies to the phantom engine 🗜 types This issue is related to Typescript
Projects
None yet
Development

No branches or pull requests

1 participant