@augment-vir/common
Advanced tools
Comparing version 11.1.2 to 11.2.0
@@ -26,2 +26,4 @@ import { Except, Simplify } from 'type-fest'; | ||
export type RequiredBy<T, K extends keyof T> = Overwrite<T, Required<Pick<T, K>>>; | ||
export declare function makeWritable<T>(input: T): Writeable<T>; | ||
export declare function makeReadonly<T>(input: T): Readonly<T>; | ||
/** | ||
@@ -28,0 +30,0 @@ * Require only a subset of object properties and require that they be not null. This is |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ensureType = exports.wrapNarrowTypeWithTypeCheck = void 0; | ||
exports.ensureType = exports.wrapNarrowTypeWithTypeCheck = exports.makeReadonly = exports.makeWritable = void 0; | ||
function makeWritable(input) { | ||
return input; | ||
} | ||
exports.makeWritable = makeWritable; | ||
function makeReadonly(input) { | ||
return input; | ||
} | ||
exports.makeReadonly = makeReadonly; | ||
/** | ||
@@ -5,0 +13,0 @@ * This function returns another function that simply returns whatever input it's given. However, it |
@@ -26,2 +26,4 @@ import { Except, Simplify } from 'type-fest'; | ||
export type RequiredBy<T, K extends keyof T> = Overwrite<T, Required<Pick<T, K>>>; | ||
export declare function makeWritable<T>(input: T): Writeable<T>; | ||
export declare function makeReadonly<T>(input: T): Readonly<T>; | ||
/** | ||
@@ -28,0 +30,0 @@ * Require only a subset of object properties and require that they be not null. This is |
@@ -0,1 +1,7 @@ | ||
export function makeWritable(input) { | ||
return input; | ||
} | ||
export function makeReadonly(input) { | ||
return input; | ||
} | ||
/** | ||
@@ -2,0 +8,0 @@ * This function returns another function that simply returns whatever input it's given. However, it |
@@ -26,2 +26,4 @@ import { Except, Simplify } from 'type-fest'; | ||
export type RequiredBy<T, K extends keyof T> = Overwrite<T, Required<Pick<T, K>>>; | ||
export declare function makeWritable<T>(input: T): Writeable<T>; | ||
export declare function makeReadonly<T>(input: T): Readonly<T>; | ||
/** | ||
@@ -28,0 +30,0 @@ * Require only a subset of object properties and require that they be not null. This is |
{ | ||
"name": "@augment-vir/common", | ||
"version": "11.1.2", | ||
"version": "11.2.0", | ||
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common", | ||
@@ -5,0 +5,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
172362
3462