Update TypeScript documentation (3.0.1)

pull/856/merge
Thibaut Courouble 7 years ago
parent 5eb4ae5949
commit 7b64b43ad3

@ -9,6 +9,7 @@ module Docs
def get_type
return 'Declaration Files' if subpath.include?('declaration-files')
return 'Project Configuration' if slug == 'handbook/configuring-watch'
type = at_css('#main-nav a.active').ancestors('.panel').first.at_css('> a').content
type = name if type == 'Handbook'
type

@ -2,7 +2,7 @@ module Docs
class Typescript < UrlScraper
self.name = 'TypeScript'
self.type = 'typescript'
self.release = '2.9.0'
self.release = '3.0.1'
self.base_url = 'https://www.typescriptlang.org/docs/'
self.root_path = 'tutorial.html'
self.links = {

Loading…
Cancel
Save