import { createContext } from 'react' ; import { AnnotationUpdatesService } from '../../services/annotations_service' ; export type MlAnnotationUpdatesContextValue = AnnotationUpdatesService ; export const MlAnnotationUpdatesContext = createContext < MlAnnotationUpdatesContextValue > ( new AnnotationUpdatesService ( ) ) ;