Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mmacfadden committed Mar 6, 2020
1 parent 705b55b commit be5d65c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ts/RemoteCursorWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import {EditorContentManager} from "./EditorContentManager";
import {OnDisposed} from "./OnDisposed";
import {Validation} from "./Validation";

interface Configuration {
interface IConfiguration {
readonly lineHeight: number;
}

function getConfiguration(editorInstance: editor.ICodeEditor): Configuration {
function getConfiguration(editorInstance: editor.ICodeEditor): IConfiguration {
// Support for Monaco < 0.19.0
if (typeof (editorInstance as any).getConfiguration === 'function') {
return (editorInstance as any).getConfiguration()
if (typeof (editorInstance as any).getConfiguration === "function") {
return (editorInstance as any).getConfiguration();
}

return {
Expand Down

0 comments on commit be5d65c

Please sign in to comment.