This commit is contained in:
Alex Dima 2020-09-11 12:56:24 +02:00
parent 8a4357c301
commit a1c30dff82
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 2 additions and 2 deletions

2
monaco.d.ts vendored
View file

@ -45,7 +45,7 @@ declare namespace monaco.languages.typescript {
interface MapLike<T> { interface MapLike<T> {
[index: string]: T; [index: string]: T;
} }
declare type CompilerOptionsValue = type CompilerOptionsValue =
| string | string
| number | number
| boolean | boolean

View file

@ -32,7 +32,7 @@ for (let line of lines) {
continue; continue;
} }
line = line.replace(/ /g, '\t'); line = line.replace(/ /g, '\t');
line = line.replace(/export declare/g, 'export'); line = line.replace(/declare /g, '');
if (line.length > 0) { if (line.length > 0) {
line = `\t${line}`; line = `\t${line}`;
result.push(line); result.push(line);