Open jasco opened 4 years ago
File t1.ts
t1.ts
type MyType = string; interface Data { val: MyType; arr: MyType[]; }
node build/src/cli/index.js --files t1.ts --interfaces Data -o string
Result:
{ "Data": { "val": "excepturi qui voluptatem", "arr": [ {}, {}, {} ] } };
I get the same output:
{ "Data": { "val": "quia placeat facilis", "arr": [ {}, {}, {}, {}, {}, {} ] } };
File
t1.ts
node build/src/cli/index.js --files t1.ts --interfaces Data -o string
Result: