Shorten type signature if too long to fit in editor.