@@ -45,7 +45,7 @@ declare namespace monaco.languages.typescript {
interface MapLike<T> {
[index: string]: T;
}
- declare type CompilerOptionsValue =
+ type CompilerOptionsValue =
| string
| number
| boolean
@@ -32,7 +32,7 @@ for (let line of lines) {
continue;
line = line.replace(/ /g, '\t');
- line = line.replace(/export declare/g, 'export');
+ line = line.replace(/declare /g, '');
if (line.length > 0) {
line = `\t${line}`;
result.push(line);