Skip to content

Not generating Typescript interfaces for SerializableError class #51

Description

@fay-jai

It seems like the SerializableError class isn't being auto-generated correctly and maybe its related to this:

public final Class<? extends Exception> getExceptionClass() {
    try {
        return (Class<? extends Exception>) Class.forName(getExceptionClassName());
    } catch (ClassNotFoundException e) {
        throw new RuntimeException(e);
    }
}

The auto-generated typescript definition looks like this:

export interface ISerializableError {
}

And it is missing the following:

export interface ISerializableError {
    exceptionClass?: string;
    message?: string;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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