Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
0693e8ba
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0693e8ba
编写于
3月 10, 2016
作者:
D
Dirk Baeumer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update to tsserver 1.8.7
上级
01be0ac7
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
822 addition
and
809 deletion
+822
-809
extensions/typescript/server/typescript/lib/tsserver.js
extensions/typescript/server/typescript/lib/tsserver.js
+17
-9
extensions/typescript/server/typescript/package.json
extensions/typescript/server/typescript/package.json
+13
-8
extensions/typescript/src/protocol.d.ts
extensions/typescript/src/protocol.d.ts
+792
-792
未找到文件。
extensions/typescript/server/typescript/lib/tsserver.js
浏览文件 @
0693e8ba
...
...
@@ -20235,6 +20235,7 @@ var ts;
checkGrammarForGenerator(node);
}
if (contextualMapper === identityMapper && isContextSensitive(node)) {
checkNodeDeferred(node);
return anyFunctionType;
}
var links = getNodeLinks(node);
...
...
@@ -25510,7 +25511,7 @@ var ts;
function getDeclarationDiagnostics(host, resolver, targetSourceFile) {
var declarationDiagnostics = ts.createDiagnosticCollection();
ts.forEachExpectedEmitFile(host, getDeclarationDiagnosticsFromFile, targetSourceFile);
return declarationDiagnostics.getDiagnostics(targetSourceFile
.fileName
);
return declarationDiagnostics.getDiagnostics(targetSourceFile
? targetSourceFile.fileName : undefined
);
function getDeclarationDiagnosticsFromFile(_a, sources, isBundledEmit) {
var declarationFilePath = _a.declarationFilePath;
emitDeclarations(host, resolver, declarationDiagnostics, declarationFilePath, sources, isBundledEmit);
...
...
@@ -33033,7 +33034,7 @@ var ts;
ts.ioReadTime = 0;
ts.ioWriteTime = 0;
var emptyArray = [];
ts.version = "1.8.
2
";
ts.version = "1.8.
7
";
function findConfigFile(searchPath, fileExists) {
var fileName = "tsconfig.json";
while (true) {
...
...
@@ -33540,7 +33541,13 @@ var ts;
return getDiagnosticsHelper(sourceFile, getSemanticDiagnosticsForFile, cancellationToken);
}
function getDeclarationDiagnostics(sourceFile, cancellationToken) {
return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken);
var options = program.getCompilerOptions();
if (!sourceFile || options.out || options.outFile) {
return getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);
}
else {
return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken);
}
}
function getSyntacticDiagnosticsForFile(sourceFile, cancellationToken) {
return sourceFile.parseDiagnostics;
...
...
@@ -33721,15 +33728,16 @@ var ts;
}
});
}
function getDeclarationDiagnostics
ForFile
(sourceFile, cancellationToken) {
function getDeclarationDiagnostics
Worker
(sourceFile, cancellationToken) {
return runWithCancellationToken(function () {
if (!ts.isDeclarationFile(sourceFile)) {
var resolver = getDiagnosticsProducingTypeChecker().getEmitResolver(sourceFile, cancellationToken);
var writeFile_1 = function () { };
return ts.getDeclarationDiagnostics(getEmitHost(writeFile_1), resolver, sourceFile);
}
var resolver = getDiagnosticsProducingTypeChecker().getEmitResolver(sourceFile, cancellationToken);
var writeFile = function () { };
return ts.getDeclarationDiagnostics(getEmitHost(writeFile), resolver, sourceFile);
});
}
function getDeclarationDiagnosticsForFile(sourceFile, cancellationToken) {
return ts.isDeclarationFile(sourceFile) ? [] : getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);
}
function getOptionsDiagnostics() {
var allDiagnostics = [];
ts.addRange(allDiagnostics, fileProcessingDiagnostics.getGlobalDiagnostics());
extensions/typescript/server/typescript/package.json
浏览文件 @
0693e8ba
...
...
@@ -4,7 +4,7 @@
"name"
:
"Microsoft Corp."
},
"homepage"
:
"http://typescriptlang.org/"
,
"version"
:
"1.8.
2
"
,
"version"
:
"1.8.
7
"
,
"license"
:
"Apache-2.0"
,
"description"
:
"TypeScript is a language for application scale JavaScript development"
,
"keywords"
:
[
...
...
@@ -19,7 +19,7 @@
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/Microsoft/TypeScript.git"
"url"
:
"
git+
https://github.com/Microsoft/TypeScript.git"
},
"main"
:
"./lib/typescript.js"
,
"typings"
:
"./lib/typescript.d.ts"
,
...
...
@@ -58,9 +58,9 @@
"os"
:
false
,
"path"
:
false
},
"gitHead"
:
"
e5dd34f9e69f517182abfc996a10b8312b14e015
"
,
"_id"
:
"typescript@1.8.
2
"
,
"_shasum"
:
"
4d2ad7db172be67a913d09862b510133bad61b33
"
,
"gitHead"
:
"
c9cf5f9cc2a781c9bdb00206d9a1038b53be6bda
"
,
"_id"
:
"typescript@1.8.
7
"
,
"_shasum"
:
"
35e3838de31c91cfe1d8c20e0e5785d386938a49
"
,
"_from"
:
"typescript@latest"
,
"_npmVersion"
:
"2.0.0"
,
"_npmUser"
:
{
...
...
@@ -74,9 +74,14 @@
}
],
"dist"
:
{
"shasum"
:
"4d2ad7db172be67a913d09862b510133bad61b33"
,
"tarball"
:
"http://registry.npmjs.org/typescript/-/typescript-1.8.2.tgz"
"shasum"
:
"35e3838de31c91cfe1d8c20e0e5785d386938a49"
,
"tarball"
:
"http://registry.npmjs.org/typescript/-/typescript-1.8.7.tgz"
},
"_npmOperationalInternal"
:
{
"host"
:
"packages-11-east.internal.npmjs.com"
,
"tmp"
:
"tmp/typescript-1.8.7.tgz_1456882108211_0.4195348753128201"
},
"directories"
:
{},
"_resolved"
:
"https://registry.npmjs.org/typescript/-/typescript-1.8.2.tgz"
"_resolved"
:
"https://registry.npmjs.org/typescript/-/typescript-1.8.7.tgz"
,
"readme"
:
"ERROR: No README data found!"
}
extensions/typescript/src/protocol.d.ts
浏览文件 @
0693e8ba
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录