|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
557 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 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.