Remove unneeded type declarations
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
832de60952
commit
89af3e5df8
|
@ -1,85 +1,6 @@
|
|||
/* eslint-disable import/order */
|
||||
/* eslint-disable import/no-duplicates */
|
||||
|
||||
declare module "*.event.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
interface EventMetadata {
|
||||
name: string;
|
||||
short: string;
|
||||
date: Date;
|
||||
online: boolean;
|
||||
location: string;
|
||||
poster?: string;
|
||||
registerLink?: string;
|
||||
permaLink?: string;
|
||||
}
|
||||
|
||||
const ReactComponent: ComponentType;
|
||||
|
||||
export const metadata: EventMetadata;
|
||||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.news.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
interface NewsMetadata {
|
||||
author: string;
|
||||
date: Date;
|
||||
}
|
||||
|
||||
const ReactComponent: ComponentType;
|
||||
|
||||
export const metadata: NewsMetadata;
|
||||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.team-member.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
interface TeamMemberMetadata {
|
||||
name: string;
|
||||
role: string;
|
||||
}
|
||||
|
||||
const ReactComponent: ComponentType;
|
||||
|
||||
export const metadata: TeamMemberMetadata;
|
||||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.section.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
interface SectionMetadata {
|
||||
title: string;
|
||||
id: string;
|
||||
}
|
||||
|
||||
const ReactComponent: ComponentType;
|
||||
|
||||
export const metadata: SectionMetadata;
|
||||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.talk.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
interface TalkMetadata {
|
||||
slug: string;
|
||||
title: string;
|
||||
presentors: string[];
|
||||
thumbnails: { small: string; large?: string };
|
||||
links: { file: string; type: string; size?: string }[];
|
||||
}
|
||||
|
||||
const ReactComponent: ComponentType;
|
||||
|
||||
export const metadata: TalkMetadata;
|
||||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
|
|
Loading…
Reference in New Issue