Skip to content

Commit

Permalink
fix(demo): implement new monaco required api
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Jun 13, 2023
1 parent 962e0bc commit 2bae5e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ window.MonacoEnvironment = {
return new Worker()
}
throw new Error(`Unimplemented worker ${label} (${moduleId})`)
},
createTrustedTypesPolicy () {
return undefined
}
}

Expand Down

0 comments on commit 2bae5e5

Please sign in to comment.