Skip to content

Commit 90d33b3

Browse files
committed
feat: add types
1 parent 5aa5def commit 90d33b3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

tsconfig.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
22
// https://nuxt.com/docs/guide/concepts/typescript
3-
"extends": "./.nuxt/tsconfig.json"
3+
"extends": "./.nuxt/tsconfig.json",
4+
"compilerOptions": {
5+
"typeRoots": ["./types"]
6+
}
47
}

types/roadmapSidebar.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export type RoadmapSidebar = {
2+
title: String;
3+
slug: String;
4+
}

0 commit comments

Comments
 (0)