Skip to content

Commit b9114f1

Browse files
committed
nvm, remove _AssertSync suffix
1 parent 76a1ec0 commit b9114f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

generate.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ function renderFunction(args: {
141141
const markAsync = async && returnType.async
142142

143143
let typescriptFunctionName = functionName
144-
if (forceSync) {
145-
typescriptFunctionName += '_AssertSync'
146-
} else if (markAsync) {
144+
if (markAsync) {
147145
typescriptFunctionName += '_MaybeAsync'
148146
}
149147

0 commit comments

Comments
 (0)