Skip to content

Introducing display number - #4

Merged
alexlanz merged 2 commits into
masterfrom
display-number
May 27, 2021
Merged

Introducing display number#4
alexlanz merged 2 commits into
masterfrom
display-number

Conversation

@alexlanz

Copy link
Copy Markdown
Member

No description provided.

Comment thread src/index.ts Outdated
const indexType = config?.indexType ?? IndexType.ONE_BASED
const maxPages = config?.maxPages ?? 5

const firstPage = indexType == IndexType.ZERO_BASED ? 0 : 1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about using triple equal here?

@alexlanz
alexlanz merged commit 61dd3fb into master May 27, 2021
@alexlanz
alexlanz deleted the display-number branch May 27, 2021 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants