mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Test import fix
This commit is contained in:
@@ -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,5 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
|
||||
Reference in New Issue
Block a user