mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-18 01:49:03 +00:00
Format
This commit is contained in:
@@ -169,7 +169,18 @@ describe("isTypeScriptVersion", () => {
|
||||
|
||||
describe("range", () => {
|
||||
it("works", () => {
|
||||
expect(TypeScriptVersion.range("4.1")).toEqual(["4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "5.0"]);
|
||||
expect(TypeScriptVersion.range("4.1")).toEqual([
|
||||
"4.1",
|
||||
"4.2",
|
||||
"4.3",
|
||||
"4.4",
|
||||
"4.5",
|
||||
"4.6",
|
||||
"4.7",
|
||||
"4.8",
|
||||
"4.9",
|
||||
"5.0",
|
||||
]);
|
||||
});
|
||||
it.skip("includes 4.2 onwards", () => {
|
||||
expect(TypeScriptVersion.range("4.2")).toEqual(TypeScriptVersion.supported);
|
||||
|
||||
@@ -49,7 +49,7 @@ export type UnsupportedTypeScriptVersion =
|
||||
| "3.7"
|
||||
| "3.8"
|
||||
| "3.9"
|
||||
| "4.0"
|
||||
| "4.0";
|
||||
/**
|
||||
* Parseable and supported TypeScript versions.
|
||||
* Only add to this list if we will support this version on Definitely Typed.
|
||||
|
||||
Reference in New Issue
Block a user