 TypeView = require './atom-ternjs-type-view'
-{Point} = require 'atom'
 
 module.exports =
 class Type

  manager: null
  overlayDecoration: null
  marker: null
  offsetFix: ''

  constructor: (manager, state = {}) ->
    @manager = manager

        type = data.type.substring(data.type.indexOf('(') + 1, data.type.lastIndexOf(')'))
        matches = type.match(@manager.regExp.params)
        if matches?[paramPosition]
          offsetFix = if paramPosition > 0 then ' ' else ''
          data.type = data.type.replace(matches[paramPosition], offsetFix + "<span class=\"current-param\">#{matches[paramPosition]}</span>")
        @view.setData({
          word: data.exprName,
          label: data.type
