@augment-vir/common
Version:
A collection of augments, helpers types, functions, and classes for any JavaScript environment.
10 lines (9 loc) • 360 B
TypeScript
export type { ReadonlyDeep } from 'type-fest';
/**
* 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>;