mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Improve dts script
This commit is contained in:
parent
cb9d6191f5
commit
dfb2aaa1f4
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