How to express in typescript that the key value of an object is symbol type

interface Listeners {
    [propName: symbol]: Listener[];
};

the above code prompts

[ts] Index signature parameter must be of type "string" or "number". [1023]

how to express that the key value of an object is of type symbol


clipboard.png

clipboard.png

.jpeg

issue Github:Allow indexing with symbols 2019open

clipboard.png


same question, have you solved it?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bde329-30b56.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bde329-30b56.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?