-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
docs: better documentation for runtime
#8190
Conversation
🦋 Changeset detectedLatest commit: 457718a The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
getRuntime()
runtime
cc @alexanderniebuhr should we add something about how to type the runtime? |
Sure thing, let me double check how typing would be best with the current types & will open another PR. Should not block this one. Update: The types are not exported yet, I'll fix that and update the docs in another PR today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense. 🎉
@alexanderniebuhr I committed a change where the types are now exported and improved the docs showing how users can type the runtime. Please have a look! |
b848783
to
457718a
Compare
I like it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs approves! 🥳
Changes
Closes #8060
Testing
N/A
Docs
/cc @withastro/maintainers-docs for feedback!