Skip to content

Commit 6e39978

Browse files
committed
fix: adopt usePageFrontmatter generic type
1 parent 4a31e31 commit 6e39978

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx nano-staged
1+
nano-staged

src/shared/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type SocialShareNetworkData = Record<string, SocialShareNetwork>
2020
*/
2121
export type SocialShareQRCodeOptions = QRCodeToDataURLOptions
2222

23-
export interface SocialShareFrontmatter {
23+
export type SocialShareFrontmatter = {
2424
noSocialShare?: boolean
2525
noGlobalSocialShare?: boolean
2626

0 commit comments

Comments
 (0)