UNPKG

tiny-types

Version:

A tiny library that brings Tiny Types to JavaScript and TypeScript

9 lines (8 loc) 285 B
import { MatcherRule } from './MatcherRule'; /** * @access private */ export declare class MatchesAnything<Input_Type, Output_Type> extends MatcherRule<Input_Type, Output_Type> { constructor(transformation: (v: Input_Type) => Output_Type); matches(_: Input_Type): boolean; }