diff --git a/types/prismic-dom/index.d.ts b/types/prismic-dom/index.d.ts index 2849cc7791..ba101e1041 100644 --- a/types/prismic-dom/index.d.ts +++ b/types/prismic-dom/index.d.ts @@ -1,10 +1,12 @@ // Type definitions for prismic-dom 2.0 // Project: https://github.com/prismicio/prismic-dom#readme // Definitions by: Nick Whyte +// Siggy Bilstein // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface RichText { asHtml(richText: any, linkResolver?: (doc: any) => string): string; + asText(richText: any, joinString?: string): string; } export const RichText: RichText;