mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 05:12:36 +04:00
Enable astro/tsconfigs/strictest in the docs package (#2835)
This commit is contained in:
@@ -4,7 +4,7 @@ import Icon from '@ui/Icon.astro'
|
|||||||
interface Props {
|
interface Props {
|
||||||
/** When omitted, the card renders as a non-interactive "Coming soon" tile. */
|
/** When omitted, the card renders as a non-interactive "Coming soon" tile. */
|
||||||
href?: string
|
href?: string
|
||||||
icon?: string
|
icon?: string | undefined
|
||||||
title: string
|
title: string
|
||||||
description: string
|
description: string
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,15 +18,15 @@ interface Props {
|
|||||||
/** front matter: the page's h1 heading */
|
/** front matter: the page's h1 heading */
|
||||||
title: string;
|
title: string;
|
||||||
/** front matter: optional SEO title override */
|
/** front matter: optional SEO title override */
|
||||||
seoTitle?: string;
|
seoTitle?: string | undefined;
|
||||||
/** front matter: lead below the title (p.text-secondary.fs-3.lh-3) */
|
/** front matter: lead below the title (p.text-secondary.fs-3.lh-3) */
|
||||||
summary?: string;
|
summary?: string | undefined;
|
||||||
/** front matter: SEO description */
|
/** front matter: SEO description */
|
||||||
description?: string;
|
description?: string | undefined;
|
||||||
/** front matter: optional SEO description override */
|
/** front matter: optional SEO description override */
|
||||||
seoDescription?: string;
|
seoDescription?: string | undefined;
|
||||||
/** front matter `added-in`: renders the "Added in X" badge next to the h1 */
|
/** front matter `added-in`: renders the "Added in X" badge next to the h1 */
|
||||||
addedIn?: string;
|
addedIn?: string | undefined;
|
||||||
/** Table of contents (h2/h3 from the markdown content) — see DocsToc.astro */
|
/** Table of contents (h2/h3 from the markdown content) — see DocsToc.astro */
|
||||||
toc?: TocItem[];
|
toc?: TocItem[];
|
||||||
/**
|
/**
|
||||||
@@ -35,13 +35,13 @@ interface Props {
|
|||||||
* Drives the active menu entry, pagination, the "Edit this page" link, and
|
* Drives the active menu entry, pagination, the "Edit this page" link, and
|
||||||
* the relative favicon path.
|
* the relative favicon path.
|
||||||
*/
|
*/
|
||||||
url?: string;
|
url?: string | undefined;
|
||||||
/** Extra libraries from libs.json (css+js) */
|
/** Extra libraries from libs.json (css+js) */
|
||||||
docsLibs?: string[];
|
docsLibs?: string[];
|
||||||
/** hides child and previous/next page navigation */
|
/** hides child and previous/next page navigation */
|
||||||
hidePagination?: boolean;
|
hidePagination?: boolean | undefined;
|
||||||
/** repo-relative source path for the "Edit this page" link, e.g. "docs/pages/ui/components/alert.mdx" */
|
/** repo-relative source path for the "Edit this page" link, e.g. "docs/pages/ui/components/alert.mdx" */
|
||||||
editPath?: string;
|
editPath?: string | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "astro/tsconfigs/strict",
|
"extends": "astro/tsconfigs/strictest",
|
||||||
"include": [
|
"include": [
|
||||||
".astro/types.d.ts",
|
".astro/types.d.ts",
|
||||||
"**/*"
|
"**/*"
|
||||||
|
|||||||
Reference in New Issue
Block a user