main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
557 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | type primitive = string | number | bigint | boolean | symbol | null | undefined;
|
---|
| 2 |
|
---|
| 3 | declare function whichBoxedPrimitive(value: primitive): null;
|
---|
| 4 | declare function whichBoxedPrimitive(value: BigInt): 'BigInt';
|
---|
| 5 | declare function whichBoxedPrimitive(value: Boolean): 'Boolean';
|
---|
| 6 | declare function whichBoxedPrimitive(value: Number): 'Number';
|
---|
| 7 | declare function whichBoxedPrimitive(value: String): 'String';
|
---|
| 8 | declare function whichBoxedPrimitive(value: Symbol): 'Symbol';
|
---|
| 9 | declare function whichBoxedPrimitive(value: unknown): undefined;
|
---|
| 10 |
|
---|
| 11 | export = whichBoxedPrimitive;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.