aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils/constants.ts
blob: b5b6cc00d0c656cb5aa94c630a92fec9f5968845 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { SupportedDocJson } from '../types';

export const constants = {
    TYPES_SECTION_NAME: 'types',
    EXTERNAL_EXPORTS_SECTION_NAME: 'external exports',
    TYPE_TO_SYNTAX: {
        [SupportedDocJson.SolDoc]: 'solidity',
        [SupportedDocJson.TypeDoc]: 'typescript',
    } as { [supportedDocType: string]: string },
};