Fix playground Quick Fix action (#7824)

## Summary

This PR fixes the playground code action to start working again. It seems that
the field name was changed from `edit` to `textEdit` in some version.

Resources:
- https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IWorkspaceTextEdit.html
- https://stackoverflow.com/a/71742764

## Test Plan

Tested it out running locally.
This commit is contained in:
Dhruv Manilawala 2023-10-05 11:41:18 +05:30 committed by GitHub
parent 76fcf63052
commit adb6580270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ export default function SourceEditor({
edits: check.fix.edits.map((edit) => ({
resource: model.uri,
versionId: model.getVersionId(),
edit: {
textEdit: {
range: {
startLineNumber: edit.location.row,
startColumn: edit.location.column,