import { AppState } from "@nteract/types" ; export const editorbyEditorType = ( state ) => state . core . entities . editors . byEditorType ; export const editor = ( state , { id } ) => editorbyEditorType ( state ) . get ( id ) ;