Remove unused ts directive (#7829)

See: https://github.com/astral-sh/ruff/actions/runs/6421876406/job/17437188754
This commit is contained in:
Dhruv Manilawala 2023-10-05 22:41:05 +05:30 committed by GitHub
parent 1eac457c1b
commit 27def479bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ export default function SourceEditor({
const codeActionProvider = monaco?.languages.registerCodeActionProvider(
"python",
{
// @ts-expect-error: The type definition is wrong.
provideCodeActions: function (model, position) {
const actions = diagnostics
.filter((check) => position.startLineNumber === check.location.row)