Skip to content

Commit a9f6c2a

Browse files
committed
tweak typing
1 parent 09a0b54 commit a9f6c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/translate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ function getCompileOptions(
325325
key: string,
326326
source: string,
327327
warnHtmlMessage: boolean,
328-
errorDetector?: Function // eslint-disable-line @typescript-eslint/ban-types
328+
errorDetector?: (err: CompileError) => void
329329
): CompileOptions {
330330
return {
331331
warnHtmlMessage,

0 commit comments

Comments
 (0)