Remove unused ts directive (#7829)

See: 1743718875
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

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)