Skip to content

Commit

Permalink
Refactor docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 1, 2023
1 parent ec8d99b commit ddbbc18
Show file tree
Hide file tree
Showing 3 changed files with 501 additions and 464 deletions.
5 changes: 3 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface Image {
*/
alt?: string | null | undefined
/**
* Height of image (optional, example: '550').
* Height of image (optional, example: `'550'`).
*/
height?: number | string | null | undefined
/**
Expand All @@ -18,7 +18,7 @@ export interface Image {
*/
url: string
/**
* Width of image (optional, example: '1050').
* Width of image (optional, example: `'1050'`).
*/
width?: number | string | null | undefined
}
Expand Down Expand Up @@ -227,6 +227,7 @@ export interface Options {
type?: 'article' | 'website' | null | undefined
}

// Add custom data supported when `rehype-meta` is added.
declare module 'vfile' {
interface DataMapMatter extends Options {}
interface DataMapMeta extends Options {}
Expand Down
Loading

0 comments on commit ddbbc18

Please sign in to comment.