ItemTypeMap top-level constant
Map
const ItemTypeMap
Implementation
const Map ItemTypeMap = {
ItemType.story: 'story',
ItemType.ask: 'ask',
ItemType.comment: 'comment',
ItemType.poll: 'poll',
ItemType.pollopt: 'pollopt',
ItemType.job: 'job',
ItemType.unsupported: null,
};