|
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:
382 bytes
|
| Line | |
|---|
| 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.