Skip to content

Clean up config variable assignment #6

@chrisdmacrae

Description

@chrisdmacrae

Currently a bunch of if statements.

Could probably do:

constructor(config: ConfigObject) {
  Object.assign(this, this, config)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions