Skip to content

interface incomplete: InitOptions #166

@tonyke-bot

Description

@tonyke-bot

modelName should be one member of InitOptions, which type is string.

Although this parameters is optional and if it's left blank, sequelize will use Class name as modelName.
But I port my old project from js to ts and my table name is camelCase, but class name is usually in PascalCase, so I need to defined the model name myself when I invoke Model.init;

Plz fix it.

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