Test import fix

This commit is contained in:
Alessio Paccoia
2018-05-22 11:20:21 +02:00
parent bf9421504a
commit 5aafbff175
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import * as ps_tree from "ps-tree";
import ps_tree from "ps-tree";
ps_tree(1, () => {}); // $ExpectType void
ps_tree(1, (error: Error, children: ReadonlyArray<ps_tree.PS>) => {
+1
View File
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"esModuleInterop": true,
"module": "commonjs",
"lib": [
"es6"