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

fix: use declare for store properties to avoid the need for as *Store #602

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

favna
Copy link
Member

@favna favna commented Feb 5, 2023

This ensures that people no longed need to write code such as const commandsStore = this.store as CommandStore but instead can keep out the typecast.

resolves #382

…ore`

This ensures that people no longed need to write code such as
`const commandsStore = this.store as CommandStore`
but instead can keep out the typecast.

resolves #382
@favna favna self-assigned this Feb 5, 2023
@favna
Copy link
Member Author

favna commented Feb 5, 2023

@sapphiredev pack

@sapphiredev
Copy link

sapphiredev bot commented Feb 5, 2023

Heya @favna, I've started to run the deployment workflow on this PR at 94b457c. You can monitor the build here!

@sapphiredev
Copy link

sapphiredev bot commented Feb 5, 2023

Hey @favna, I've released this to NPM. You can install it for testing like so:

npm install @sapphire/framework@pr-602

@favna
Copy link
Member Author

favna commented Feb 5, 2023

image

image

@favna favna merged commit b243bcd into main Feb 5, 2023
@favna favna deleted the fix/use-declare-for-piece-stores branch February 5, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

request: use declare
2 participants