Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Remove declare modifiers (microsoft/monaco-editor#2121)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Sep 11, 2020
1 parent 8a4357c commit a1c30df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monaco.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ declare namespace monaco.languages.typescript {
interface MapLike<T> {
[index: string]: T;
}
declare type CompilerOptionsValue =
type CompilerOptionsValue =
| string
| number
| boolean
Expand Down
2 changes: 1 addition & 1 deletion scripts/dts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a1c30df

Please sign in to comment.