PR Changes

This commit is contained in:
Nick Whyte
2018-03-12 11:07:34 +11:00
parent 2f3607131c
commit 75178d3bdf
+9 -2
View File
@@ -3,6 +3,13 @@
// Definitions by: Nick Whyte <https://github.com/nickw444>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export namespace RichText {
function asHtml(richText: any, linkResolver?: (doc: any) => string): string;
interface RichText {
asHtml(richText: any, linkResolver?: (doc: any) => string): string;
}
export const RichText: RichText;
declare const PrismicDOM: {
RichText: RichText;
};
export default PrismicDOM;