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: Declaration or statement expected. #297

Closed
jadbox opened this issue Feb 20, 2019 · 2 comments
Closed

Typescript: Declaration or statement expected. #297

jadbox opened this issue Feb 20, 2019 · 2 comments

Comments

@jadbox
Copy link

jadbox commented Feb 20, 2019

react-waypoint: 9.0.0
typescript: 3.3.3

node_modules/react-waypoint/index.d.ts
Type error: Declaration or statement expected.  TS1128

     8 | }
     9 | 
  > 10 | export Waypoint;
       | ^
    11 | 
    12 | declare namespace Waypoint {
    13 |     interface CallbackArgs {
@robertu7
Copy link

robertu7 commented Mar 1, 2019

any workaround?

@nucleartux
Copy link
Contributor

I think this issue can be closed.
cc @lencioni / @trotzig

@lencioni lencioni closed this as completed Mar 8, 2019
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

No branches or pull requests

4 participants