Skip to content

Commit 8b7b6b6

Browse files
authored
refactor(docs): convert team data file to TypeScript (#1515)
Convert `docs/_data/team.js` to TypeScript for consistency with the rest of the `docs/`, where every other source file is already `.ts/.mts/.vue`.
1 parent c69329c commit 8b7b6b6

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/** @type {import('@voidzero-dev/vitepress-theme').TeamMember[]} */
2-
export const core = [
1+
import type { DefaultTheme } from "vitepress";
2+
3+
export const core: DefaultTheme.TeamMember[] = [
34
{
45
avatar: "https://github.com/fengmk2.png",
56
name: "MK",
@@ -117,5 +118,4 @@ export const core = [
117118
},
118119
];
119120

120-
/** @type {import('@voidzero-dev/vitepress-theme').TeamMember[]} */
121-
export const emeriti = [];
121+
export const emeriti: DefaultTheme.TeamMember[] = [];

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"exclude": [
1919
"ecosystem-ci",
20+
"packages/cli/docs",
2021
"packages/cli/snap-tests",
2122
"packages/cli/snap-tests-global",
2223
// Symlinks to vite submodule files that don't use .js extensions;

0 commit comments

Comments
 (0)