diff --git a/static/panes/compiler.ts b/static/panes/compiler.ts index 0924fb652..5b9b43265 100644 --- a/static/panes/compiler.ts +++ b/static/panes/compiler.ts @@ -679,9 +679,11 @@ export class Compiler extends MonacoPane { ); }; - this.container.layoutManager.createDragSource(popCompilerButton, getCompilerConfig()); + // The .d.ts for GL lies. You can pass a function that returns the config as a second parameter + this.container.layoutManager.createDragSource(popCompilerButton, getCompilerConfig as any); popCompilerButton.on('click', () => { const insertPoint =