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

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
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.