mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Remove declare modifiers (microsoft/monaco-editor#2121)
This commit is contained in:
parent
8a4357c301
commit
a1c30dff82
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue