Comparing version 0.2.2 to 0.2.3
@@ -127,2 +127,7 @@ var path_1 = require('path'); | ||
action: function (identifier) { | ||
if (!identifier) { | ||
; | ||
repl.displayPrompt(); | ||
return; | ||
} | ||
var undo = evalFile.input; | ||
@@ -129,0 +134,0 @@ evalFile.input += identifier; |
@@ -15,3 +15,3 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
var chalk = require('chalk'); | ||
exports.VERSION = '0.2.2'; | ||
exports.VERSION = '0.2.3'; | ||
exports.EXTENSIONS = ['.ts', '.tsx']; | ||
@@ -100,5 +100,5 @@ function readConfig(cwd, ts) { | ||
var info = service.getQuickInfoAtPosition(fileName, position); | ||
var name = ts.displayPartsToString(info.displayParts || []); | ||
var comment = ts.displayPartsToString(info.documentation || []); | ||
return chalk.bold(name) + (comment ? os_1.EOL + comment : ''); | ||
var name = ts.displayPartsToString(info ? info.displayParts : []); | ||
var comment = ts.displayPartsToString(info ? info.documentation : []); | ||
return chalk.bold(name) + (comment ? "\n" + comment : ''); | ||
} | ||
@@ -105,0 +105,0 @@ exports.EXTENSIONS.forEach(function (extension) { |
{ | ||
"name": "ts-node", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"preferGlobal": true, | ||
@@ -5,0 +5,0 @@ "description": "TypeScript execution environment for node", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40313
454