UNPKG

@lint-todo/utils

Version:

![CI Build](https://github.com/lint-todo/utils/workflows/CI%20Build/badge.svg) [![npm version](https://badge.fury.io/js/%40lint-todo%2Futils.svg)](https://badge.fury.io/js/%40lint-todo%2Futils) [![License](https://img.shields.io/npm/l/@checkup/cli.svg)](h

10 lines 446 B
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