Skip to content

Commit bb12b15

Browse files
committed
update
1 parent 95c9dcf commit bb12b15

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/type.d.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
import { IntegrationUserConfig as BaseIntegrationUserConfig } from 'astro-pure/types'
2+
3+
declare module 'astro-pure/types' {
4+
interface GiscusConfig {
5+
enable: boolean
6+
repo: string
7+
repoId: string
8+
category: string
9+
categoryId: string
10+
mapping: string
11+
reactionsEnabled: string
12+
emitMetadata: string
13+
inputPosition: string
14+
lang: string
15+
}
16+
17+
interface IntegrationUserConfig extends BaseIntegrationUserConfig {
18+
giscus?: GiscusConfig
19+
}
20+
}
21+
122
declare module 'virtual:config' {
223
const Config: import('astro-pure/types').ConfigOutput
324
export default Config

0 commit comments

Comments
 (0)