Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
a73867d8
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a73867d8
编写于
12月 24, 2019
作者:
J
Johannes Rieken
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
replace 'declare var...' with 'declare const...', related #87644
上级
1f3ff416
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
8 addition
and
8 deletion
+8
-8
src/vs/base/common/buffer.ts
src/vs/base/common/buffer.ts
+1
-1
src/vs/base/parts/ipc/common/ipc.ts
src/vs/base/parts/ipc/common/ipc.ts
+1
-1
src/vs/editor/browser/controller/mouseTarget.ts
src/vs/editor/browser/controller/mouseTarget.ts
+1
-1
src/vs/editor/common/core/stringBuilder.ts
src/vs/editor/common/core/stringBuilder.ts
+1
-1
src/vs/editor/common/services/editorSimpleWorker.ts
src/vs/editor/common/services/editorSimpleWorker.ts
+1
-1
src/vs/platform/instantiation/common/instantiationService.ts
src/vs/platform/instantiation/common/instantiationService.ts
+1
-1
src/vs/workbench/test/electron-browser/quickopen.perf.integrationTest.ts
...h/test/electron-browser/quickopen.perf.integrationTest.ts
+1
-1
src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts
.../test/electron-browser/textsearch.perf.integrationTest.ts
+1
-1
未找到文件。
src/vs/base/common/buffer.ts
浏览文件 @
a73867d8
...
...
@@ -6,7 +6,7 @@
import
*
as
strings
from
'
vs/base/common/strings
'
;
import
*
as
streams
from
'
vs/base/common/stream
'
;
declare
var
Buffer
:
any
;
declare
const
Buffer
:
any
;
const
hasBuffer
=
(
typeof
Buffer
!==
'
undefined
'
);
const
hasTextEncoder
=
(
typeof
TextEncoder
!==
'
undefined
'
);
...
...
src/vs/base/parts/ipc/common/ipc.ts
浏览文件 @
a73867d8
...
...
@@ -187,7 +187,7 @@ const BufferPresets = {
Object
:
createOneByteBuffer
(
DataType
.
Object
),
};
declare
var
Buffer
:
any
;
declare
const
Buffer
:
any
;
const
hasBuffer
=
(
typeof
Buffer
!==
'
undefined
'
);
function
serialize
(
writer
:
IWriter
,
data
:
any
):
void
{
...
...
src/vs/editor/browser/controller/mouseTarget.ts
浏览文件 @
a73867d8
...
...
@@ -79,7 +79,7 @@ interface IETextRange {
setEndPoint
(
how
:
string
,
SourceRange
:
IETextRange
):
void
;
}
declare
var
IETextRange
:
{
declare
const
IETextRange
:
{
prototype
:
IETextRange
;
new
():
IETextRange
;
};
...
...
src/vs/editor/common/core/stringBuilder.ts
浏览文件 @
a73867d8
...
...
@@ -5,7 +5,7 @@
import
*
as
strings
from
'
vs/base/common/strings
'
;
declare
var
TextDecoder
:
any
;
// TODO@TypeScript
declare
const
TextDecoder
:
any
;
// TODO@TypeScript
interface
TextDecoder
{
decode
(
view
:
Uint16Array
):
string
;
}
...
...
src/vs/editor/common/services/editorSimpleWorker.ts
浏览文件 @
a73867d8
...
...
@@ -322,7 +322,7 @@ export interface IForeignModuleFactory {
(
ctx
:
IWorkerContext
,
createData
:
any
):
any
;
}
declare
var
require
:
any
;
declare
const
require
:
any
;
/**
* @internal
...
...
src/vs/platform/instantiation/common/instantiationService.ts
浏览文件 @
a73867d8
...
...
@@ -16,7 +16,7 @@ const _enableTracing = false;
// PROXY
// Ghetto-declare of the global Proxy object. This isn't the proper way
// but allows us to run this code in the browser without IE11.
declare
var
Proxy
:
any
;
declare
const
Proxy
:
any
;
const
_canUseProxy
=
typeof
Proxy
===
'
function
'
;
class
CyclicDependencyError
extends
Error
{
...
...
src/vs/workbench/test/electron-browser/quickopen.perf.integrationTest.ts
浏览文件 @
a73867d8
...
...
@@ -49,7 +49,7 @@ namespace Timer {
}
}
declare
var
__dirname
:
string
;
//
declare var __dirname: string;
// Checkout sources to run against:
// git clone --separate-git-dir=testGit --no-checkout --single-branch https://chromium.googlesource.com/chromium/src testWorkspace
...
...
src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts
浏览文件 @
a73867d8
...
...
@@ -36,7 +36,7 @@ import { ITextResourcePropertiesService } from 'vs/editor/common/services/textRe
import
{
ClassifiedEvent
,
StrictPropertyCheck
,
GDPRClassification
}
from
'
vs/platform/telemetry/common/gdprTypings
'
;
import
{
TestThemeService
}
from
'
vs/platform/theme/test/common/testThemeService
'
;
declare
var
__dirname
:
string
;
//
declare var __dirname: string;
// Checkout sources to run against:
// git clone --separate-git-dir=testGit --no-checkout --single-branch https://chromium.googlesource.com/chromium/src testWorkspace
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录