import { Pipe , PipeTransform } from '@angular/core' ; @ Pipe ( { name : 'keys' , pure : false } ) export class KeysPipe implements PipeTransform { transform ( value , _args = null ) { return Object . keys ( value ) ; } }