Skip to content

Commit 9130fbd

Browse files
author
Andy Hanson
committed
Merge branch 'master' into refactor_module_resolution
2 parents 07bb258 + f6b82d5 commit 9130fbd

File tree

190 files changed

+93648
-89333
lines changed

Some content is hidden

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

190 files changed

+93648
-89333
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ matrix:
1515
branches:
1616
only:
1717
- master
18-
- release-2.0
18+
- release-2.1
1919

2020
install:
2121
- npm uninstall typescript

Jakefile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, opts
448448
options += " --stripInternal";
449449
}
450450

451-
options += " --target es5";
451+
options += " --target es5 --noUnusedLocals --noUnusedParameters";
452452

453453
var cmd = host + " " + compilerPath + " " + options + " ";
454454
cmd = cmd + sources.join(" ");

jenkins.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
3+
# Set up NVM
4+
export NVM_DIR="/home/dotnet-bot/.nvm"
5+
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
6+
7+
nvm install $1
8+
9+
npm uninstall typescript
10+
npm uninstall tslint
11+
npm install
12+
npm update
13+
npm test

lib/cancellationToken.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/lib.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ See the Apache Version 2.0 License for specific language governing permissions
1313
and limitations under the License.
1414
***************************************************************************** */
1515

16+
17+
1618
/// <reference no-default-lib="true"/>
19+
20+
1721
/////////////////////////////
1822
/// ECMAScript APIs
1923
/////////////////////////////
@@ -4149,6 +4153,8 @@ interface Date {
41494153
*/
41504154
toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
41514155
}
4156+
4157+
41524158

41534159
/////////////////////////////
41544160
/// IE DOM APIs
@@ -18774,12 +18780,16 @@ type ScrollLogicalPosition = "start" | "center" | "end" | "nearest";
1877418780
type IDBValidKey = number | string | Date | IDBArrayKey;
1877518781
type BufferSource = ArrayBuffer | ArrayBufferView;
1877618782
type MouseWheelEvent = WheelEvent;
18777-
type ScrollRestoration = "auto" | "manual";
18783+
type ScrollRestoration = "auto" | "manual";
18784+
18785+
1877818786
/////////////////////////////
1877918787
/// WorkerGlobalScope APIs
1878018788
/////////////////////////////
1878118789
// These are only available in a Web Worker
1878218790
declare function importScripts(...urls: string[]): void;
18791+
18792+
1878318793

1878418794

1878518795
/////////////////////////////

lib/lib.dom.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ See the Apache Version 2.0 License for specific language governing permissions
1313
and limitations under the License.
1414
***************************************************************************** */
1515

16+
17+
1618
/// <reference no-default-lib="true"/>
19+
20+
1721

1822
/////////////////////////////
1923
/// IE DOM APIs

lib/lib.dom.iterable.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ See the Apache Version 2.0 License for specific language governing permissions
1313
and limitations under the License.
1414
***************************************************************************** */
1515

16+
17+
1618
/// <reference no-default-lib="true"/>
19+
20+
1721
/// <reference path="lib.dom.d.ts" />
1822

1923
interface DOMTokenList {

lib/lib.es2015.collection.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ See the Apache Version 2.0 License for specific language governing permissions
1313
and limitations under the License.
1414
***************************************************************************** */
1515

16+
17+
1618
/// <reference no-default-lib="true"/>
19+
20+
1721
interface Map<K, V> {
1822
clear(): void;
1923
delete(key: K): boolean;

lib/lib.es2015.core.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ See the Apache Version 2.0 License for specific language governing permissions
1313
and limitations under the License.
1414
***************************************************************************** */
1515

16+
17+
1618
/// <reference no-default-lib="true"/>
19+
20+
1721
declare type PropertyKey = string | number | symbol;
1822

1923
interface Array<T> {

lib/lib.es2015.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ See the Apache Version 2.0 License for specific language governing permissions
1313
and limitations under the License.
1414
***************************************************************************** */
1515

16+
17+
1618
/// <reference no-default-lib="true"/>
19+
20+
1721
/// <reference path="lib.es2015.core.d.ts" />
1822
/// <reference path="lib.es2015.collection.d.ts" />
1923
/// <reference path="lib.es2015.generator.d.ts" />

0 commit comments

Comments
 (0)