We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddfeed4 commit 7f27b8dCopy full SHA for 7f27b8d
lib/docs/scrapers/typescript.rb
@@ -4,11 +4,6 @@ class Typescript < UrlScraper
4
5
self.name = 'TypeScript'
6
self.type = 'typescript'
7
- self.release = '5.3.3'
8
- self.base_urls = [
9
- 'https://www.typescriptlang.org/docs/handbook/',
10
- 'https://www.typescriptlang.org/'
11
- ]
12
13
self.root_path = 'docs/'
14
@@ -49,6 +44,18 @@ def initial_urls
49
44
Licensed under the Apache License, Version 2.0.
50
45
HTML
51
46
47
+ version do
48
+ self.release = '5.3.3'
+ self.base_urls = [
+ 'https://www.typescriptlang.org/docs/handbook/',
+ 'https://www.typescriptlang.org/'
52
+ ]
53
+ end
54
+
55
+ version '5.1' do
56
+ self.release = '5.1.3'
57
58
59
def get_latest_version(opts)
60
get_latest_github_release('Microsoft', 'TypeScript', opts)
61
end
0 commit comments