UNPKG

@augment-vir/common

Version:

A collection of augments, helpers types, functions, and classes for any JavaScript environment.

9 lines (8 loc) 313 B
/** * This function does nothing but return the input as a readonly typed version of itself. * * @category Type * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare function makeReadonly<T>(input: T): Readonly<T>;