export enum WidgetNamespace { BUILTIN = 'builtin' , EXTENSION = 'extension' , SIDEBAR_BUILTIN = 'sidebar-builtin' , APP = 'app' , EDITOR_BUILTIN = 'editor-builtin' } export const DEFAULT_EDITOR_ID = 'default-editor' ; private export const in_ = < K extends string , O > ( key , object ) : key is K & keyof O => key in object ;