fix some monaco ESM task

This commit is contained in:
Benjamin Pasero
2020-03-05 09:20:24 +01:00
parent fc922c255f
commit f67e7f41d9
3 changed files with 33 additions and 28 deletions

View File

@@ -492,7 +492,12 @@ class SizeUtils {
// ----------------------------------------------------------------------------------------
// Position & Dimension
export class Dimension {
export interface IDimension {
readonly width: number;
readonly height: number;
}
export class Dimension implements IDimension {
constructor(
public readonly width: number,