diff --git a/src/vs/monaco.d.ts b/src/vs/monaco.d.ts index 9e73c33291eb8b86d3f5bd594401c2a2b16c1015..18e0a9abe18ecc667366563d6dfd78eec4709dd2 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;