Skip to content

Commit

Permalink
feat: add types
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed May 29, 2024
1 parent 5aa5def commit 90d33b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
"typeRoots": ["./types"]
}
}
4 changes: 4 additions & 0 deletions types/roadmapSidebar.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export type RoadmapSidebar = {
title: String;
slug: String;
}

0 comments on commit 90d33b3

Please sign in to comment.