Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Array of alias values mock as empty objects #44

@jasco

Description

@jasco

File 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": [
      {},
      {},
      {}
    ]
  }
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions