Add *.talk.mdx declaration
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4635a17e3b
commit
580caee28a
|
@ -60,6 +60,21 @@ declare module "*.section.mdx" {
|
|||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.talk.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
interface TalkMetadata {
|
||||
name: string;
|
||||
short: string;
|
||||
poster?: string;
|
||||
}
|
||||
|
||||
const ReactComponent: ComponentType;
|
||||
|
||||
export const metadata: TalkMetadata;
|
||||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
|
|
Loading…
Reference in New Issue