main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
416 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | /**
|
---|
| 2 | * Describes function modes
|
---|
| 3 | * `sync` : Normal function
|
---|
| 4 | * `async`: Promised result
|
---|
| 5 | */
|
---|
| 6 | export declare type Mode = 'sync' | 'async';
|
---|
| 7 | /**
|
---|
| 8 | * Describes function parameter input
|
---|
| 9 | * `multi`: ( a, b, c ... n ) => X
|
---|
| 10 | * `list` : ([a, b, c ... n]) => X
|
---|
| 11 | */
|
---|
| 12 | export declare type Input = 'multi' | 'list';
|
---|
| 13 | /**
|
---|
| 14 | * Describes types that can be narrowed
|
---|
| 15 | */
|
---|
| 16 | export declare type Narrowable = string | number | bigint | boolean;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.