Remove TValueCallback from monaco.d.ts

This commit is contained in:
Alex Dima
2018-09-06 11:18:45 +02:00
parent 74fa1d8994
commit c4ea51ab7e
2 changed files with 1 additions and 6 deletions
+1 -2
View File
@@ -36,8 +36,7 @@ declare namespace monaco {
Error = 8,
}
#include(vs/base/common/winjs.base.d.ts): TValueCallback, Promise
#include(vs/base/common/winjs.base.d.ts): Promise
#include(vs/base/common/cancellation): CancellationTokenSource, CancellationToken
#include(vs/base/common/uri): URI, UriComponents
#include(vs/editor/common/standalone/standaloneBase): KeyCode, KeyMod
-4
View File
@@ -38,10 +38,6 @@ declare namespace monaco {
export type TValueCallback<T = any> = (value: T | PromiseLike<T>) => void;
export class Promise<T = any> {
constructor(
executor: (