import { Mode } from './mode' ; export class NoOpMode implements Mode { preEnter ( ) { return Promise . resolve ( ) ; } exit ( ) { return Promise . resolve ( ) ; } postEnter ( ) { return Promise . resolve ( ) ; } onKeyDown ( e ) { } notifySelectedMetadata ( ) { return Promise . resolve ( ) ; } }