UNPKG

@stoplight/elements-core

Version:

[![docs](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://meta.stoplight.io/docs/elements) [![license](https://img.shields.io/npm/l/@stoplight/elements?style=flat-square)](./LICENSE)

3 lines (2 loc) • 163 B
import { HttpCodeColor } from '../constants'; export declare function getHttpCodeColor(code: number | string): (typeof HttpCodeColor)[keyof typeof HttpCodeColor];