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