10 lines
392 B
TypeScript
10 lines
392 B
TypeScript
import * as moment from 'moment';
|
|
import { PipeTransform } from '@angular/core';
|
|
import { NgxMomentOptions } from './moment-options';
|
|
export declare class DurationPipe implements PipeTransform {
|
|
allowedUnits: Array<string>;
|
|
constructor(momentOptions?: NgxMomentOptions);
|
|
transform(value: moment.DurationInputArg1, ...args: string[]): string;
|
|
private _applyOptions;
|
|
}
|