mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 10:25:42 +01:00
Improve dts script
This commit is contained in:
parent
c4c0a98ef7
commit
2bb6a93576
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue