mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Tidy up
This commit is contained in:
parent
3e1a236812
commit
c402ee962f
3 changed files with 3 additions and 6 deletions
|
|
@ -203,7 +203,6 @@
|
|||
|
||||
document.getElementById('logDTS').onclick = async () => {
|
||||
const model = editor.getModel()
|
||||
|
||||
const worker = await monaco.languages.typescript.getTypeScriptWorker()
|
||||
const thisWorker = await worker(model.uri)
|
||||
const dts = await thisWorker.getDTSEmitForFile(model.uri.toString())
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
/// <reference lib="webworker">
|
||||
|
||||
self.extendTSWorkerFactory = (TypeScriptWorker) => {
|
||||
return class MonacoTSWorker extends TypeScriptWorker {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue