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