Merge pull request #19 from Microsoft/add-3.3

Add Typescript 3.3
This commit is contained in:
Nathan Shively-Sanders 2018-12-06 14:38:46 -08:00 коммит произвёл GitHub
Родитель f53b0b7f53 7c4f4e6a85
Коммит 49748ca5b2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -12,10 +12,10 @@ Example:
/** Parse-able TypeScript versions. Only add to this list if we will support this version on DefinitelyTyped. */
export type TypeScriptVersion =
"2.0" | "2.1" | "2.2" | "2.3" | "2.4" | "2.5" | "2.6" | "2.7" | "2.8" | "2.9" | "3.0" | "3.1" | "3.2";
"2.0" | "2.1" | "2.2" | "2.3" | "2.4" | "2.5" | "2.6" | "2.7" | "2.8" | "2.9" | "3.0" | "3.1" | "3.2" | "3.3";
export namespace TypeScriptVersion {
export const all: ReadonlyArray<TypeScriptVersion> =
["2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "3.0", "3.1", "3.2"];
["2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "3.0", "3.1", "3.2", "3.3"];
export const lowest = all[0];
/** Latest version that may be specified in a `// TypeScript Version:` header. */
export const latest = all[all.length - 1];
@ -43,6 +43,7 @@ export namespace TypeScriptVersion {
"ts3.0",
"ts3.1",
"ts3.2",
"ts3.3",
"latest",
];