aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils/constants.ts
blob: 0b08f2c3e506391bde93a1033a3e39d7254c0227 (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.Doxity]: 'solidity',
        [SupportedDocJson.TypeDoc]: 'typescript',
    } as { [supportedDocType: string]: string },
};