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

RollupWatcherEvent interface is missing 'FATAL' #3336

Open
stubar opened this issue Jan 15, 2020 · 2 comments
Open

RollupWatcherEvent interface is missing 'FATAL' #3336

stubar opened this issue Jan 15, 2020 · 2 comments

Comments

@stubar
Copy link

stubar commented Jan 15, 2020

  • Rollup Version: 1.29.0
  • Operating System (or Browser): OSX High Sierra
  • Node Version: v12.14.1

How Do We Reproduce?

Attempt to typescript compile this code

watcher.on('event', event => {
            if (event.FATAL){
              // some handler
              }
            })

Expected Behavior

no errors because FATAL is listed as a possible event in the docs.

Actual Behavior

Error:(136, 23) TS2339: Property 'FATAL' does not exist on type 'RollupWatcherEvent'.

@lukastaegert
Copy link
Member

There no longer is a FATAL event. I think I forgot to push the updated docs 🙄

The docs are fixed now.

@lukastaegert
Copy link
Member

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

2 participants