From 90d33b3f128a33c1ff959a4c9a66d8e1f1f25fc6 Mon Sep 17 00:00:00 2001 From: Sergio Ribera <56278796+SergioRibera@users.noreply.github.com> Date: Tue, 28 May 2024 20:15:35 -0400 Subject: [PATCH] feat: add types --- tsconfig.json | 5 ++++- types/roadmapSidebar.ts | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 types/roadmapSidebar.ts diff --git a/tsconfig.json b/tsconfig.json index a746f2a..e3cd27d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,7 @@ { // https://nuxt.com/docs/guide/concepts/typescript - "extends": "./.nuxt/tsconfig.json" + "extends": "./.nuxt/tsconfig.json", + "compilerOptions": { + "typeRoots": ["./types"] + } } diff --git a/types/roadmapSidebar.ts b/types/roadmapSidebar.ts new file mode 100644 index 0000000..5ea4a3d --- /dev/null +++ b/types/roadmapSidebar.ts @@ -0,0 +1,4 @@ +export type RoadmapSidebar = { + title: String; + slug: String; +}