Implement PhantomData type #63
Labels
💅🏼 enhancement
New feature or request
👻 phantom
This applies to the phantom engine
🗜 types
This issue is related to Typescript
After Phantom v3, there will be a crucial
PhantomData
type which will allow user-defined properties to be added to aPhantomComponent
'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 ofPhantomComponent
.The text was updated successfully, but these errors were encountered: