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
|
Rev | Line | |
---|
[79a0317] | 1 | declare namespace SLOT {
|
---|
| 2 | type InternalSlot = string; // `[[${string}]]`; // TODO: restrict this to require the brackets
|
---|
| 3 | }
|
---|
| 4 |
|
---|
| 5 | declare 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 |
|
---|
| 12 | export = SLOT;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.