mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Load .d.ts in playground
This commit is contained in:
parent
3c8bc9b380
commit
5cee62a7c0
3 changed files with 4846 additions and 21 deletions
|
|
@ -145,6 +145,8 @@ function addPluginDTS() {
|
|||
|
||||
contents += '\n' + extraContent.join('\n');
|
||||
data.contents = new Buffer(contents);
|
||||
|
||||
fs.writeFileSync('website/playground/samples/editor.d.ts.txt', contents);
|
||||
this.emit('data', data);
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue