Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript @ts-ignore: estimateFeeValue #3758

Merged
merged 7 commits into from
Dec 8, 2020

Conversation

Disti4ct
Copy link
Collaborator

@Disti4ct Disti4ct commented Dec 7, 2020

Checklist

  • I have read the CONTRIBUTING guide
  • Good naming, keep simple
  • Tested desktop/mobile
  • Tested bright/dark
  • Tested en/ru
  • Affects money; I checked the functionality once again
  • I checked the PR once again

Original issue

#3562

@sorentobot
Copy link
Collaborator

@sorentobot
Copy link
Collaborator

@iower iower self-requested a review December 7, 2020 09:36
const estimateFeeValue = async ({ feeRate, inSatoshis, speed, address, txSize, fixed, method }: object = {}) => {
type EstimateFeeValueOptions = {
method?: string
speed: string
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
speed: string
speed: 'fast' | 'normal' | 'slow'

const estimateFeeValue = async ({ feeRate, inSatoshis, speed, address, txSize, fixed, method } = {}) => {
type EstimateFeeValueOptions = {
method?: string
speed: string
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
speed: string
speed: 'fast' | 'normal' | 'slow'

const estimateFeeValue = async ({ feeRate, inSatoshis, speed, address, txSize, fixed, method } = {}) => {
type EstimateFeeValueOptions = {
method?: string
speed: string
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
speed: string
speed: 'fast' | 'normal' | 'slow'

@iower
Copy link
Collaborator

iower commented Dec 7, 2020

Requesting 2 approvals for this PR

@sorentobot
Copy link
Collaborator

@Disti4ct Disti4ct requested a review from shendel December 7, 2020 13:05
@iower iower merged commit 3f71f53 into swaponline:master Dec 8, 2020
@Disti4ct Disti4ct deleted the tsIgnoreEstimateFeeValue branch June 25, 2021 15:10
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.

4 participants