From 1d24da063f0ef2356700a6d90a471cdafe068d4d Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sun, 8 Dec 2024 10:58:41 -0800 Subject: [PATCH] chore(prettier): exclude auto-generated `COMPONENT_API.json` (#2073) --- .prettierignore | 1 + docs/src/COMPONENT_API.json | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 21fa977591..ce337c7fa8 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,3 +6,4 @@ dist client build *.svx +COMPONENT_API.json \ No newline at end of file diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 469dea2d09..c6ceb31d19 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -3235,7 +3235,10 @@ "ts": "interface DataTableCell<\n Row = DataTableRow,\n> {\n key:\n | DataTableKey\n | (string & {});\n value: DataTableValue;\n display?: (\n item: DataTableValue,\n row: DataTableRow,\n ) => DataTableValue;\n}\n" } ], - "generics": ["Row", "Row extends DataTableRow = DataTableRow"], + "generics": [ + "Row", + "Row extends DataTableRow = DataTableRow" + ], "rest_props": { "type": "Element", "name": "div" @@ -18063,4 +18066,4 @@ } } ] -} +} \ No newline at end of file