source: frontend/node_modules/which-boxed-primitive/index.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 557 bytes
Line 
1type primitive = string | number | bigint | boolean | symbol | null | undefined;
2
3declare function whichBoxedPrimitive(value: primitive): null;
4declare function whichBoxedPrimitive(value: BigInt): 'BigInt';
5declare function whichBoxedPrimitive(value: Boolean): 'Boolean';
6declare function whichBoxedPrimitive(value: Number): 'Number';
7declare function whichBoxedPrimitive(value: String): 'String';
8declare function whichBoxedPrimitive(value: Symbol): 'Symbol';
9declare function whichBoxedPrimitive(value: unknown): undefined;
10
11export = whichBoxedPrimitive;
Note: See TracBrowser for help on using the repository browser.