mirror of
https://github.com/preactjs/wmr.git
synced 2026-01-25 15:08:00 +00:00
27 lines
422 B
TypeScript
27 lines
422 B
TypeScript
interface ContentHeading {
|
|
heading: string;
|
|
}
|
|
interface ContentItem {
|
|
name: string;
|
|
nav?: string;
|
|
title?: string;
|
|
description?: string;
|
|
image?: string;
|
|
slug?: string;
|
|
[key: string]: string;
|
|
}
|
|
|
|
declare module 'content:*' {
|
|
const Data: Array<ContentItem | ContentHeading>;
|
|
export = Data;
|
|
}
|
|
|
|
declare module 'markdown:*' {
|
|
const Url: string;
|
|
export = Url;
|
|
}
|
|
|
|
interface Window {
|
|
page: HTMLDivElement
|
|
}
|