List: {
    actions?: Action.ActionPanel;
    defaultAction?: string;
    detail?: ListSchema.ItemDetail;
    filter: "none" | "default";
    inherits?: ListSchema.ListInheritOptions[];
    items?: ListSchema.Item[];
    nodeName: NodeName;
    sections?: ListSchema.Section[];
}

Manually define type of List to avoid TypeScript error Type instantiation is excessively deep and possibly infinite. This happens when this type is used in another package. This doesn't seem to happen when this package is published as TypeScript, but only when it's packaged and published as JavaScript.