From 2097dddfc948d3012864f86b234f9134f1eb40c2 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Wed, 29 Nov 2017 13:28:56 -0800 Subject: [PATCH] Support ts2.6 --- index.ts | 21 +- package-lock.json | 1029 ++++++++++++++++++++++++++++++++++++++++++++ test/test.ts | 2 +- test/tsconfig.json | 8 +- tsconfig.json | 8 +- 5 files changed, 1043 insertions(+), 25 deletions(-) create mode 100644 package-lock.json diff --git a/index.ts b/index.ts index 57fa743..2e90dd2 100644 --- a/index.ts +++ b/index.ts @@ -9,9 +9,9 @@ Example: // TypeScript Version: 2.1 */ -export type TypeScriptVersion = "2.0" | "2.1" | "2.2" | "2.3" | "2.4" | "2.5"; +export type TypeScriptVersion = "2.0" | "2.1" | "2.2" | "2.3" | "2.4" | "2.5" | "2.6"; export namespace TypeScriptVersion { - export const all: ReadonlyArray = ["2.0", "2.1", "2.2", "2.3", "2.4", "2.5"]; + export const all: ReadonlyArray = ["2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6"]; export const lowest = all[0]; /** Latest version that may be specified in a `// TypeScript Version:` header. */ export const latest = all[all.length - 1]; @@ -210,7 +210,7 @@ function parseLabel(strict: boolean): pm.Parser