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; +}