Export registerLanguage

This commit is contained in:
Alexander Dmitriev
2017-03-08 14:50:01 +01:00
parent a0a315592f
commit 72d10c7a67

View File

@@ -12,6 +12,8 @@ declare module 'react-syntax-highlighter' {
declare module 'react-syntax-highlighter/dist/light' {
import * as React from 'react';
export function registerLanguage(name: string, func: any): void;
interface SyntaxHighlighterProps {
language?: string;
style?: any;
@@ -498,4 +500,4 @@ declare module 'react-syntax-highlighter/dist/styles/xt256' {
declare module 'react-syntax-highlighter/dist/styles/zenburn' {
const style: any;
export default style;
}
}