Skip to content

Standardize optional params across repository. #170

@CCleanerShot

Description

@CCleanerShot

As it stands, the project is utilizing 2 different ways to create an optional property:

interface Props { name: string}

const Test = ({name: ''}: Props) {}
interface Props { name?: string}

const Test = ({ name }: Props) {}

Subjective opinion aside, one should be swiftly decided on.

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