question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Types destroyed v7.4.1

See original GitHub issue

Describe the bug Getting a lot of wrong errors from types

  1. Using DayPickerInput with dayPickerProps prop, keep getting error that renderDay, renderWeek are required , but should they be?

  2.  import { DateUtils } from 'react-day-picker'
     DateUtils.isDate(...) 
    

    ‘DateUtils’ only refers to a type, but is being used as a value here. Fix: (removed export before type) + image

  3. DayPickerInputProps props onDayPickerShow, onDayPickerHide are required but should they?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bengrycommented, Apr 15, 2020

I’ll send a PR to fix issues 2 and 3 in a bit and update here.

EDIT: PR is up

@gpbl would appreciate your review there.

2reactions
rewrkingcommented, Apr 14, 2020

FYI: A workaround is to stay at the previous version by removing “^” in your package.json:

 "react-day-picker": "7.4.0",

(reinstall of course)

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSPro User's Guide v7.4.1 - Census.gov
There are four types of data sources: Text. The text data source is what was always used in CSPro prior to version 7.0....
Read more >
Releases · concourse/concourse - GitHub
Since v7.4.0, the Concourse linux tarball in attached binaries has been using the ubuntu version with size 1GB+. Refer to this CI fix...
Read more >
Zigbee EmberZNet Release Notes - Silicon Labs
Incoming packet handler data now includes the NWK header as well. Type of boolean now changed to bool in the EmberZNet SDK. Page...
Read more >
Swiper Changelog
Now Swiper won't cleanup styles on destroy. Lazy. Now it has options to check is Swiper also is in view before loading the...
Read more >
BEYBLADE Burst QuadDrive Destruction Belfyre B7 Spinning ...
This ItemBEYBLADE Burst QuadDrive Destruction Belfyre B7 Spinning Top Starter Pack -- Attack/Stamina Type Battling Game with Launcher, Toy for Kids ; DRIVE ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found