Sha256: 575a4116151603d53e83d30de1248d56c38a7e2e842542f40174118751c5dfee

Contents?: true

Size: 397 Bytes

Versions: 14

Compression:

Stored size: 397 Bytes

Contents

# -*- coding: utf-8 -*- #

module Rouge
  module Lexers
    load_lexer 'javascript.rb'
    load_lexer 'typescript/common.rb'

    class Typescript < Javascript
      include TypescriptCommon

      title "TypeScript"
      desc "TypeScript, a superset of JavaScript"

      tag 'typescript'
      aliases 'ts'

      filenames '*.ts', '*.d.ts'

      mimetypes 'text/typescript'
    end
  end
end

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/lib/rouge/lexers/typescript.rb
rouge-3.2.1 lib/rouge/lexers/typescript.rb
rouge-3.2.0 lib/rouge/lexers/typescript.rb
rouge_ecl-1.0.0 lib/rouge/lexers/typescript.rb
rouge_ecl-0.0.1 lib/rouge/lexers/typescript.rb
rouge-3.1.1 lib/rouge/lexers/typescript.rb
rouge-3.1.0 lib/rouge/lexers/typescript.rb
rouge-3.0.0 lib/rouge/lexers/typescript.rb
rouge-2.2.1 lib/rouge/lexers/typescript.rb
rouge-2.2.0 lib/rouge/lexers/typescript.rb
rougegal-2.1.2 lib/rouge/lexers/typescript.rb
tdiary-5.0.5 vendor/bundle/gems/rouge-2.1.1/lib/rouge/lexers/typescript.rb
rouge-2.1.1 lib/rouge/lexers/typescript.rb
rouge-2.1.0 lib/rouge/lexers/typescript.rb