mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Avoid huge .d.ts files
This commit is contained in:
parent
cdf8b88e35
commit
11abbeebb2
2 changed files with 18 additions and 18 deletions
|
|
@ -170,7 +170,7 @@ function importLibs() {
|
|||
for (let i = result.length - 1; i >= 0; i--) {
|
||||
if (result[i].deps.length === 0) {
|
||||
// emit this node
|
||||
strResult += `\nexport const ${result[i].name} = ${result[i].output};\n`;
|
||||
strResult += `\nexport const ${result[i].name}: string = ${result[i].output};\n`;
|
||||
|
||||
// mark dep as resolved
|
||||
for (let j = 0; j < result.length; j++) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue