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