Skip to content

Commit 640b6e4

Browse files
committed
fix: tighten methods.kind type
#1949 (comment)
1 parent de911cd commit 640b6e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/types/deno-doc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export interface DenoDocNode {
100100
}>
101101
methods?: Array<{
102102
name: string
103-
kind?: string
103+
kind?: 'method' | 'getter'
104104
isStatic?: boolean
105105
functionDef?: {
106106
params?: FunctionParam[]

0 commit comments

Comments
 (0)