Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Add 3.8 (#26)
Browse files Browse the repository at this point in the history
* Add 3.8

* Update package.json
  • Loading branch information
DanielRosenwasser authored and sandersn committed Oct 30, 2019
1 parent 5f323ae commit 06b1af2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ 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" | "3.3" | "3.4" | "3.5" | "3.6" | "3.7";
| "3.0" | "3.1" | "3.2" | "3.3" | "3.4" | "3.5" | "3.6" | "3.7" | "3.8";
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", "3.3", "3.4", "3.5", "3.6", "3.7"];
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8"];
export const lowest = all[0];
/** Latest version that may be specified in a `// TypeScript Version:` header. */
export const latest = all[all.length - 1];
Expand Down Expand Up @@ -50,6 +50,7 @@ export namespace TypeScriptVersion {
"ts3.5",
"ts3.6",
"ts3.7",
"ts3.8",
"latest",
];

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "definitelytyped-header-parser",
"author": "Nathan Shively-Sanders <nathansa@microsoft.com> (http://github.com/Microsoft/definitelytyped-header-parser)",
"version": "3.7.2",
"version": "3.8.2",
"description": "",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 06b1af2

Please sign in to comment.