Skip to content

autoIncrement의 startPoint를 optional로 바꾼다 #26

Description

@airman5573
const autoIncrement: AutoIncrementType =
  (startPoint = 0) =>
  (_, loopIndex) => {
    return startPoint + loopIndex + 1;
  };

type AutoIncrementType = (startPoint: number) => LoopFn<number>;

=>

type AutoIncrementType = (startPoint?: number) => LoopFn<number>;

필수값이 아니기 때문에 optional로 변경합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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