mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
.
This commit is contained in:
Vendored
+3
-3
@@ -1,8 +1,8 @@
|
||||
// Type definitions for prismic-dom 2.0
|
||||
// Project: https://github.com/prismicio/prismic-dom#readme
|
||||
// Definitions by: Nick Whyte <https://github.com/nickw444/>
|
||||
// Definitions by: Nick Whyte <https://github.com/nickw444>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export class RichText {
|
||||
static asHtml(richText: any, linkResolver?: (doc: any) => string): string;
|
||||
export namespace RichText {
|
||||
function asHtml(richText: any, linkResolver?: (doc: any) => string): string;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import prismicDom = require("prismic-dom");
|
||||
|
||||
let rendered: string = prismicDom.RichText.asHtml({});
|
||||
const rendered: string = prismicDom.RichText.asHtml({});
|
||||
|
||||
Reference in New Issue
Block a user