Skip to content

Commit c8fc7e4

Browse files
committed
Merge pull request #1 from johnnyreilly/target-es2015-support
Added support for target: es2015
2 parents 4d7604b + 4b71c31 commit c8fc7e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/main/tsconfig/tsconfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ interface CompilerOptions {
6060
stripInternal?: boolean;
6161
suppressExcessPropertyErrors?: boolean; // Optionally disable strict object literal assignment checking
6262
suppressImplicitAnyIndexErrors?: boolean;
63-
target?: string; // 'es3'|'es5' (default)|'es6'
63+
target?: string; // 'es3'|'es5' (default)|'es6'|'es2015'
6464
version?: boolean;
6565
watch?: boolean;
6666
}
@@ -110,7 +110,7 @@ var compilerOptionsValidation: simpleValidator.ValidationInfo = {
110110
stripInternal: { type: types.boolean },
111111
suppressExcessPropertyErrors: { type: types.boolean },
112112
suppressImplicitAnyIndexErrors: { type: types.boolean },
113-
target: { type: types.string, validValues: ['es3', 'es5', 'es6'] },
113+
target: { type: types.string, validValues: ['es3', 'es5', 'es6', 'es2015'] },
114114
version: { type: types.boolean },
115115
watch: { type: types.boolean },
116116
}

0 commit comments

Comments
 (0)