main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
494 bytes
|
Line | |
---|
1 | import { Key } from './_Internal';
|
---|
2 | import { List } from './List';
|
---|
3 | import { Update } from '../Object/Update';
|
---|
4 | import { x } from '../Any/x';
|
---|
5 | import { Cast } from '../Any/Cast';
|
---|
6 | /**
|
---|
7 | * Make some entries of `L` not `undefined` (deeply or not)
|
---|
8 | * @param L to make non nullable
|
---|
9 | * @param K (?=`Key`) to choose fields
|
---|
10 | * @returns [[List]]
|
---|
11 | * @example
|
---|
12 | * ```ts
|
---|
13 | * ```
|
---|
14 | */
|
---|
15 | export declare type Undefinable<L extends List, K extends Key = Key> = Cast<Update<L, `${K & number}` | K, x | undefined>, List>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.