Comparing version 0.0.5 to 0.0.6
@@ -211,4 +211,5 @@ /// <reference path='./typings/node.d.ts' /> | ||
var declarations = {}; | ||
for (var _i = 0, _a = getDeclarationFiles(); _i < _a.length; _i++) { | ||
var file = _a[_i]; | ||
var declFiles = getDeclarationFiles().concat(path.join(__dirname, '../node_modules/typescript/bin/lib.core.es6.d.ts')); | ||
for (var _i = 0; _i < declFiles.length; _i++) { | ||
var file = declFiles[_i]; | ||
declarations[file] = service.getSourceFile(file).getNamedDeclarations().map(function (t) { return t.name; }); | ||
@@ -215,0 +216,0 @@ } |
{ | ||
"name": "tsun", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "TSUN: a repl for TypeScript Upgraded Node", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/tsun", |
@@ -231,3 +231,4 @@ /// <reference path='./typings/node.d.ts' /> | ||
var declarations: {[a: string]: ts.DeclarationName[]} = {} | ||
for (let file of getDeclarationFiles()) { | ||
let declFiles = getDeclarationFiles().concat(path.join(__dirname, '../node_modules/typescript/bin/lib.core.es6.d.ts')) | ||
for (let file of declFiles) { | ||
declarations[file] = service.getSourceFile(file).getNamedDeclarations().map(t => t.name) | ||
@@ -234,0 +235,0 @@ } |
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
341731
3974