UNPKG
@discostudioteam/react-code-blocks
Version:
latest (0.1.1-0)
0.1.1-0
0.1.0-0
0.0.2-0
0.0.1-0
Modified rajinwonderland's modification of Atlaskit's Code Block!
@discostudioteam/react-code-blocks
/
dist
/
utils
/
normalizeLanguage.d.ts
7 lines
(6 loc)
•
212 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
const
SUPPORTED_LANGUAGE_ALIASES
:
readonly
{
name
:
string
;
alias
:
string
[];
value
:
string
; }[];
export
declare
const
normalizeLanguage
:
(
language
?:
string
|
undefined
) =>
string
;