r3bl-ts-utils
Version:
The `r3bl-ts-utils` package is a set of useful TypeScript functions and classes that can be used in Node.js and browser environments. They are inspired by Kotlin stdlib, and Rust to write code as expressions rather than statements, colorized text, powerfu
11 lines (10 loc) • 432 B
TypeScript
import { Timer } from "./externals";
/**
* These types and interfaces are private to this timer-utils "module" and are not exported such
* that users of this API will not have access to them. The intention behind doing this is to hide
* the `actuallyStart()` and `actuallyStop()` methods from the public `Timer` interface.
*/
export interface TimerInternal extends Timer {
actuallyStart(): void;
actuallyStop(): void;
}