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

Vue errors encountered - problem? #2

Closed
evandrix opened this issue May 5, 2020 · 1 comment
Closed

Vue errors encountered - problem? #2

evandrix opened this issue May 5, 2020 · 1 comment

Comments

@evandrix
Copy link

evandrix commented May 5, 2020

I'm on macOS 10.15.4, Node v12.16.3.

I tried npm i, followed by npm start, as instructed.

Although the webapp is able to start, the following errors are displayed - is it a problem? is there a patch/fix?

ERROR in /gui/src/views/tabs/UnknownPreview.vue(190,20):
190:20 Parameter 'valueIndex' implicitly has an 'any' type.
    188 |   }
    189 |
  > 190 |   handleValueClick(valueIndex, e) {
        |                    ^
    191 |     this.goToChar(valueIndex)
    192 |   }
    193 |

ERROR in /gui/src/views/tabs/UnknownPreview.vue(190,32):
190:32 Parameter 'e' implicitly has an 'any' type.
    188 |   }
    189 |
  > 190 |   handleValueClick(valueIndex, e) {
        |                                ^
    191 |     this.goToChar(valueIndex)
    192 |   }
    193 |

ERROR in /gui/src/views/tabs/UnknownPreview.vue(194,19):
194:19 Parameter 'lineIndex' implicitly has an 'any' type.
    192 |   }
    193 |
  > 194 |   handleLineClick(lineIndex, e) {
        |                   ^
    195 |     this.goToLineRelative(lineIndex)
    196 |   }
    197 |

ERROR in /gui/src/views/tabs/UnknownPreview.vue(194,30):
194:30 Parameter 'e' implicitly has an 'any' type.
    192 |   }
    193 |
  > 194 |   handleLineClick(lineIndex, e) {
        |                              ^
    195 |     this.goToLineRelative(lineIndex)
    196 |   }
    197 |

ERROR in /gui/src/views/tabs/UnknownPreview.vue(243,5):
243:5 No overload matches this call.
  Overload 1 of 2, '(type: "fullscreenchange" | "fullscreenerror", listener: (this: Element, ev: Event) => any, options?: boolean | AddEventLis
tenerOptions | undefined): void', gave the following error.
    Argument of type '"wheel"' is not assignable to parameter of type '"fullscreenchange" | "fullscreenerror"'.
  Overload 2 of 2, '(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void
', gave the following error.
    Argument of type '(e: WheelEvent) => void' is not assignable to parameter of type 'EventListenerOrEventListenerObject'.
      Type '(e: WheelEvent) => void' is not assignable to type 'EventListener'.
        Types of parameters 'e' and 'evt' are incompatible.
          Type 'Event' is missing the following properties from type 'WheelEvent': deltaMode, deltaX, deltaY, deltaZ, and 27 more.
    241 |       })
    242 |
  > 243 |     this.$el.addEventListener('wheel', this.handleWheel)
        |     ^
    244 |   }
    245 |
    246 |   beforeDestroy() {

ERROR in /gui/src/views/tabs/UnknownPreview.vue(247,5):
247:5 No overload matches this call.
  Overload 1 of 2, '(type: "fullscreenchange" | "fullscreenerror", listener: (this: Element, ev: Event) => any, options?: boolean | EventListenerOptions | undefined): void', gave the following error.
    Argument of type '"wheel"' is not assignable to parameter of type '"fullscreenchange" | "fullscreenerror"'.
  Overload 2 of 2, '(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void', gave the following error.
    Argument of type '(e: WheelEvent) => void' is not assignable to parameter of type 'EventListenerOrEventListenerObject'.
      Type '(e: WheelEvent) => void' is not assignable to type 'EventListener'.
    245 |
    246 |   beforeDestroy() {
  > 247 |     this.$el.removeEventListener('wheel', this.handleWheel)
        |     ^
    248 |   }
    249 |
    250 |   async load() {
@ChiChou
Copy link
Owner

ChiChou commented May 5, 2020

Just linter errors. No actual impact.

@ChiChou ChiChou closed this as completed May 5, 2020
ChiChou added a commit that referenced this issue May 5, 2020
ChiChou added a commit that referenced this issue Nov 7, 2020
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