Skip to content

Commit dae3d95

Browse files
committed
disallow TODO errors
1 parent 336d016 commit dae3d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ export class CompileError extends Error {
508508
}
509509

510510
/**
511-
* @template {keyof typeof errors} T
511+
* @template {Exclude<keyof typeof errors, 'TODO'>} T
512512
* @param {NodeLike | number | null} node
513513
* @param {T} code
514514
* @param {Parameters<typeof errors[T]>} args

0 commit comments

Comments
 (0)