2021-08-17 15:22:19 -04:00
|
|
|
/* eslint-disable import/order */
|
|
|
|
/* eslint-disable import/no-duplicates */
|
|
|
|
|
2021-08-01 17:54:25 -04:00
|
|
|
declare module "*.mdx" {
|
|
|
|
import { ComponentType } from "react";
|
|
|
|
|
|
|
|
const ReactComponent: ComponentType;
|
|
|
|
|
|
|
|
export default ReactComponent;
|
|
|
|
}
|
2021-09-11 16:00:22 -04:00
|
|
|
|
|
|
|
declare module "*.md" {
|
|
|
|
import { ComponentType } from "react";
|
|
|
|
|
|
|
|
const ReactComponent: ComponentType;
|
|
|
|
|
|
|
|
export default ReactComponent;
|
|
|
|
}
|
2022-02-23 00:15:37 -05:00
|
|
|
|
|
|
|
declare module "markdown-truncate" {
|
|
|
|
export default function truncateMarkdown(
|
|
|
|
inputText: string,
|
|
|
|
options: { limit: number; ellipsis: boolean }
|
|
|
|
): string;
|
|
|
|
}
|