ng2-json-editor
Version:
Angular2 component for editing large json documents
12 lines (11 loc) • 383 B
TypeScript
import { PipeTransform } from '@angular/core';
import { PathUtilService } from '../services';
/**
* Returs last part of json-pointer string
* Example: for '/foo/bar/0/thing', returs 'thing'
*/
export declare class LastPathElementPipe implements PipeTransform {
private pathUtilService;
constructor(pathUtilService: PathUtilService);
transform(path: string): string;
}