Skip to content

Commit 4be11f2

Browse files
committed
Fix type error
1 parent 746c7a3 commit 4be11f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function getDocs(version?: string) {
104104
const callableProperties = Client?.classDef.properties
105105
.filter((v) => v.tsType?.kind == "typeLiteral" && v.tsType.typeLiteral.callSignatures.length > 0)
106106
.map((v): ClassMethodDef => {
107-
const callSignature = v.tsType!.kind == "typeLiteral" ? v.tsType.typeLiteral.callSignatures[0] : undefined!;
107+
const callSignature = v.tsType!.kind == "typeLiteral" ? v.tsType!.typeLiteral.callSignatures[0] : undefined!;
108108
const tags = v.jsDoc?.tags ?? [];
109109
return {
110110
jsDoc: {

0 commit comments

Comments
 (0)