source: imaps-frontend/node_modules/internal-slot/index.d.ts@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 382 bytes
RevLine 
[79a0317]1declare namespace SLOT {
2 type InternalSlot = string; // `[[${string}]]`; // TODO: restrict this to require the brackets
3}
4
5declare const SLOT: {
6 assert(O: object, slot: SLOT.InternalSlot): void;
7 get(O: object, slot: SLOT.InternalSlot): unknown;
8 set(O: object, slot: SLOT.InternalSlot, value?: unknown): void;
9 has(O: object, slot: SLOT.InternalSlot): boolean;
10}
11
12export = SLOT;
Note: See TracBrowser for help on using the repository browser.