Skip to content

Commit f4747f4

Browse files
committed
Merge branch 'master' of github.com:Microsoft/TypeScript into add-to-types2
2 parents 680cc3d + aad609c commit f4747f4

File tree

159 files changed

+69919
-3979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+69919
-3979
lines changed

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Please fill in the *entire* template below.
1616
-->
1717

1818
<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->
19-
**TypeScript Version:** 3.3.0-dev.201xxxxx
19+
**TypeScript Version:** 3.4.0-dev.201xxxxx
2020

2121
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
2222
**Search Terms:**

Gulpfile.js

Lines changed: 585 additions & 561 deletions
Large diffs are not rendered by default.

Jakefile.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ const path = require("path");
88
const fold = require("travis-fold");
99
const ts = require("./lib/typescript");
1010
const del = require("del");
11-
const getDirSize = require("./scripts/build/getDirSize");
11+
const { getDirSize, needsUpdate, flatten } = require("./scripts/build/utils");
1212
const { base64VLQFormatEncode } = require("./scripts/build/sourcemaps");
13-
const needsUpdate = require("./scripts/build/needsUpdate");
14-
const { flatten } = require("./scripts/build/project");
1513

1614
// add node_modules to path so we don't need global modules, prefer the modules by adding them first
1715
var nodeModulesPathPrefix = path.resolve("./node_modules/.bin/") + path.delimiter;
@@ -361,7 +359,7 @@ file(ConfigFileFor.tsserverLibrary, [], function () {
361359
compilerOptions: {
362360
"removeComments": false,
363361
"stripInternal": true,
364-
"declarationMap": false,
362+
"declaration": true,
365363
"outFile": "tsserverlibrary.out.js"
366364
}
367365
})

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![Build Status](https://travis-ci.org/Microsoft/TypeScript.svg?branch=master)](https://travis-ci.org/Microsoft/TypeScript)
2-
[![VSTS Build Status](https://dev.azure.com/typescript/TypeScript/_apis/build/status/Typescript/node10)](https://https://dev.azure.com/typescript/TypeScript/_build/latest?definitionId=4&view=logs)
2+
[![VSTS Build Status](https://dev.azure.com/typescript/TypeScript/_apis/build/status/Typescript/node10)](https://dev.azure.com/typescript/TypeScript/_build/latest?definitionId=4&view=logs)
33
[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)
44
[![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescript)
55

doc/spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3715,7 +3715,7 @@ the array literal initializer expression is contextually typed by the implied ty
37153715
37163716
## <a name="5.3"/>5.3 Let and Const Declarations
37173717
3718-
Let and const declarations are exended to include optional type annotations.
3718+
Let and const declarations are extended to include optional type annotations.
37193719
37203720
&emsp;&emsp;*LexicalBinding:* *( Modified )*
37213721
&emsp;&emsp;&emsp;*SimpleLexicalBinding*

package.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typescript",
33
"author": "Microsoft Corp.",
44
"homepage": "https://www.typescriptlang.org/",
5-
"version": "3.3.0",
5+
"version": "3.4.0",
66
"license": "Apache-2.0",
77
"description": "TypeScript is a language for application scale JavaScript development",
88
"keywords": [
@@ -35,10 +35,8 @@
3535
"@types/convert-source-map": "latest",
3636
"@types/del": "latest",
3737
"@types/glob": "latest",
38-
"@types/gulp": "3.X",
38+
"@types/gulp": "^4.0.5",
3939
"@types/gulp-concat": "latest",
40-
"@types/gulp-help": "latest",
41-
"@types/gulp-if": "0.0.33",
4240
"@types/gulp-newer": "latest",
4341
"@types/gulp-rename": "0.0.33",
4442
"@types/gulp-sourcemaps": "0.0.32",
@@ -50,7 +48,6 @@
5048
"@types/mocha": "latest",
5149
"@types/node": "8.5.5",
5250
"@types/q": "latest",
53-
"@types/run-sequence": "latest",
5451
"@types/source-map-support": "latest",
5552
"@types/through2": "latest",
5653
"@types/travis-fold": "latest",
@@ -63,16 +60,12 @@
6360
"del": "latest",
6461
"fancy-log": "latest",
6562
"fs-extra": "^6.0.1",
66-
"gulp": "3.X",
67-
"gulp-clone": "latest",
63+
"gulp": "^4.0.0",
6864
"gulp-concat": "latest",
69-
"gulp-help": "latest",
70-
"gulp-if": "latest",
7165
"gulp-insert": "latest",
7266
"gulp-newer": "latest",
7367
"gulp-rename": "latest",
7468
"gulp-sourcemaps": "latest",
75-
"gulp-typescript": "latest",
7669
"istanbul": "latest",
7770
"jake": "latest",
7871
"lodash": "4.17.10",
@@ -86,7 +79,6 @@
8679
"prex": "^0.4.3",
8780
"q": "latest",
8881
"remove-internal": "^2.9.2",
89-
"run-sequence": "latest",
9082
"source-map-support": "latest",
9183
"through2": "latest",
9284
"travis-fold": "latest",

scripts/build/baselineAccept.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

scripts/build/browserify.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
// @ts-check
22
const browserify = require("browserify");
3-
const Vinyl = require("./vinyl");
3+
const Vinyl = require("vinyl");
44
const { Transform } = require("stream");
55
const { streamFromFile } = require("./utils");
66
const { replaceContents } = require("./sourcemaps");
77

8-
module.exports = browserifyFile;
9-
108
/**
119
* @param {import("browserify").Options} [opts]
1210
*/
@@ -31,4 +29,5 @@ function browserifyFile(opts) {
3129
}
3230
}
3331
});
34-
}
32+
}
33+
exports.browserify = browserifyFile;

scripts/build/chalk.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

scripts/build/convertConstEnum.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

scripts/build/debounce.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

scripts/build/diagnostics.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

scripts/build/exec.js

Lines changed: 0 additions & 58 deletions
This file was deleted.

scripts/build/finished.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

scripts/build/getDiffTool.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)