function todo
todo(message?: string): void

Returns a function that does nothing. Similar to noop, however this allows you to put in an optional message regarding todos.

Examples

Example 1

function doLater(): void {
  todo();
  todo("We'll do this thing later");
}

Parameters

optional
message: string

Return Type

void

Usage

import { todo } from ".";