pack: add missing type
This commit is contained in:
1 parent
f2428d3d9a
commit
4a9d8c8aba
1 file changed
+1
-1
@@ -2,7 +2,7 @@
|
||||
import { generateSidebar } from 'vitepress-sidebar'
|
||||
import { name, description, repository } from '../../package.json'
|
||||
|
||||
const capitalizeFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1)
|
||||
const capitalizeFirst = (str: string): string => str.charAt(0).toUpperCase() + str.slice(1)
|
||||
|
||||
export default {
|
||||
title: capitalizeFirst(name),
|
||||
|
||||
Reference in new issue
Block a user