这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/List/Assign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Assign a list of [[List]] into **`L`** with [[Merge]]. Merges from left to
right, first items get overridden by the next ones (last-in overrides).
@param L to assign to
@param Ls to assign
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Compulsory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {_Pick} from '../Object/Pick'
Make that **`L`**'s fields cannot be [[Nullable]] or [[Optional]] (it's like
[[Required]] & [[NonNullable]] at once).
@param L to make compulsory
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fields will be handled gracefully.
(⚠️ needs `--strictNullChecks` enabled)
@param L to complete
@param L1 to copy from
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[Object]]
@example
Expand Down
2 changes: 1 addition & 1 deletion src/List/MergeAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Depth} from '../Object/_Internal'
items get completed by the next ones (last-in completes).
@param O to start with
@param Os to merge
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/NonNullable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export type NonNullablePart<O extends object, K extends Key, depth extends Depth
Make some entries of **`L`** not nullable (deeply or not)
@param L to make non nullable
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Nullable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {x} from '../Any/x'
Make some entries of **`L`** nullable (deeply or not)
@param L to make nullable
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Optional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {List} from './List'
/**
Make **`L`** optional (deeply or not)
@param L to make optional
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Partial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {List} from './List'
/**
Make all fields of **`O`** optional (deeply or not)
@param L to make optional
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ with the ones of `O1` if they don't exist.
(⚠️ needs `--strictNullChecks` enabled)
@param L to complete
@param L1 to copy from
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param style (?=`1`) 0 = lodash, 1 = ramda
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[List]]
Expand Down
2 changes: 1 addition & 1 deletion src/List/PatchAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {BuiltInObject} from '../Misc/BuiltInObject'
items get completed by the next ones (last-in completes).
@param O to start with
@param Os to patch
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[List]]
@example
Expand Down
2 changes: 1 addition & 1 deletion src/List/Readonly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {List} from './List'
/**
Make **`L`** readonly (deeply or not)
@param L to make readonly
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Required.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {List} from './List'
/**
Make **`L`** required (deeply or not)
@param L to make required
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Undefinable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {x} from '../Any/x'
Make some entries of **`L`** not **`undefined`** (deeply or not)
@param L to make non nullable
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/List/Writable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {List} from './List'
/**
Make **`L`** writable (deeply or not)
@param L to make writable
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[List]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Assign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Assign a list of [[Object]] into **`O`** with [[Merge]]. Merges from right to
left, first items get overridden by the next ones (last-in overrides).
@param O to assign to
@param Os to assign
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param style (?=`1`) 0 = lodash, 1 = ramda
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[Object]]
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Compulsory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Make that **`O`**'s fields cannot be [[Nullable]] or [[Optional]] (it's like
[[Required]] & [[NonNullable]] at once).
@param O to make compulsory
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fields will be handled gracefully.
(⚠️ needs `--strictNullChecks` enabled)
@param O to complete
@param O1 to copy from
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param style (?=`1`) 0 = lodash, 1 = ramda
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[Object]]
Expand Down
2 changes: 1 addition & 1 deletion src/Object/MergeAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type _MergeAll<O extends object, Os extends List<object>, depth extends D
items get completed by the next ones (last-in completes).
@param O to start with
@param Os to merge
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param style (?=`1`) 0 = lodash, 1 = ramda
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[Object]]
Expand Down
2 changes: 1 addition & 1 deletion src/Object/NonNullable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Make some fields of **`O`** not nullable (deeply or not)
(Optional fields will be left untouched & **`undefined`**)
@param O to make non nullable
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Nullable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export type _Nullable<O extends object, K extends Key, depth extends Depth> =
Make some fields of **`O`** nullable (deeply or not)
@param O to make nullable
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Optional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type _Optional<O extends object, K extends Key, depth extends Depth> =
Make some fields of **`O`** optional (deeply or not)
@param O to make optional
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/P/Merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Complete the fields of **`O`** at **`Path`** with the ones of **`O1`**
@param O to complete
@param Path to be followed
@param O1 to copy from
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param list (?=`0`) `1` to work within object lists
@returns [[Object]]
@example
Expand Down
2 changes: 1 addition & 1 deletion src/Object/P/Readonly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type ReadonlyArrays<O, Path extends List<Key>, depth extends Depth, I extends It
Make some fields of **`O`** readonly at **`Path`** (deeply or not)
@param O to make readonly
@param Path to be followed
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param list (?=`0`) `1` to work within object lists
@returns [[Object]]
@example
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Partial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Depth} from './_Internal'
/**
Make all fields of **`O`** optional (deeply or not)
@param O to make optional
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Complete the fields of **`O`** with the ones of **`O1`**. This is a version of
with the ones of `O1`.
@param O to complete
@param O1 to copy from
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param style (?=`1`) 0 = lodash, 1 = ramda
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[Object]]
Expand Down
2 changes: 1 addition & 1 deletion src/Object/PatchAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type _PatchAll<O extends object, Os extends List<object>, depth extends D
items get completed by the next ones (last-in completes).
@param O to start with
@param Os to patch
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@param style (?=`1`) 0 = lodash, 1 = ramda
@param noMerge (?=`BuiltinObject`) types not to merge
@returns [[Object]]
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Readonly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type _Readonly<O extends object, K extends Key, depth extends Depth> =
Make some fields of **`O`** readonly (deeply or not)
@param O to make readonly
@param K (?=`Key`) to choose fields
@param depth (?=`'default'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Required.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type _Required<O extends object, K extends Key, depth extends Depth> =
Make some fields of **`O`** required (deeply or not)
@param O to make required
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Undefinable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type _Undefinable<O extends object, K extends Key, depth extends Depth> =
Make some fields of **`O`** **`undefined`** (deeply or not)
@param O to make undefinable
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Writable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type _Writable<O extends object, K extends Key, depth extends Depth> =
Make some fields of **`O`** writable (deeply or not)
@param O to make writable
@param K (?=`Key`) to choose fields
@param depth (?=`'flat'`) to do it deeply
@param depth (?=`'flat'`) 'deep' to do it deeply
@returns [[Object]]
@example
```ts
Expand Down