-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Support Flask and Beta in the external extension provider #252
Conversation
Co-authored-by: Maarten Zuidhoorn <[email protected]>
@@ -8,14 +8,16 @@ import config from './external-extension-config.json'; | |||
|
|||
const browser = detect(); | |||
|
|||
export function createExternalExtensionProvider() { | |||
export type ExtensionType = 'stable' | 'flask' | 'beta' | string; |
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.
Does this actually provide autocomplete, since ExtensionType
is inferred as just string
?
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.
It does not. Do you have an idea of how to make that happen?
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.
Probably not possible unless the ID is not a string.
export type ExtensionType = 'stable' | 'flask' | 'beta' | `id:${string}`;
This works for example, but not sure if that's what we want.
Adds support for Flask, Beta and custom extension IDs in the external extension provider.
Fixes #251