From e86b622a2f125942ed1f9570626be93a111575bb Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 18 Oct 2019 14:44:17 -0700 Subject: [PATCH] Update monaco for TS 3.7 --- src/vs/monaco.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/monaco.d.ts b/src/vs/monaco.d.ts index 9e73c33291e..18e0a9abe18 100644 --- a/src/vs/monaco.d.ts +++ b/src/vs/monaco.d.ts @@ -42,7 +42,7 @@ declare namespace monaco { export class CancellationTokenSource { constructor(parent?: CancellationToken); - readonly token: CancellationToken; + get token(): CancellationToken; cancel(): void; dispose(cancel?: boolean): void; } @@ -117,7 +117,7 @@ declare namespace monaco { * namely the server name, would be missing. Therefore `Uri#fsPath` exists - it's sugar to ease working * with URIs that represent files on disk (`file` scheme). */ - readonly fsPath: string; + get fsPath(): string; with(change: { scheme?: string; authority?: string | null; -- GitLab