@lint-todo/utils
Version:
 [](https://badge.fury.io/js/%40lint-todo%2Futils) [](h
10 lines • 446 B
TypeScript
import { Severity, TodoData } from './types';
/**
* Returns the correct severity level based on the todo data's decay dates.
*
* @param todo - The todo data.
* @param today - A number representing a date (UNIX Epoch - milliseconds)
* @returns Severity - the lint severity based on the evaluation of the decay dates.
*/
export declare function getSeverity(todo: TodoData, today?: number): Severity;
//# sourceMappingURL=get-severity.d.ts.map