Rune Bjerke

Results 19 comments of Rune Bjerke

(I also tried writing a custom `httpVueLoader.httpRequest` to intercept data: urls and just return a Promise with the decoded body, but then I run into another issue: `'data' URLs may...

@OmgImAlexis That's not relevant or usable for me here, because the base of my main page is different than the base of the templates, which are loaded from different locations...

This has been renamed to `runtimeCompiler` already in the latest betas... https://github.com/vuejs/vue-cli/commit/ebffdf0

This was easy with version 1.x of this library, where you used interfaces instead of types, and then you could easily just create generic with type constraints that said ``

Also tried adding it as a constraint on T, but same happens with `class MyEventEmitter extends (EventEmitter as { new(): TypedEmitter }) { .. }` - still the same error

well... Basically just that one line, even if it doesn't make much sense: ``` import TypedEmitter from 'typed-emitter'; import EventEmitter from 'events'; class MyEventEmitter extends (EventEmitter as { new(): TypedEmitter...

Is that not the same as I mentioned in the 2nd comment above, or am I missing something? https://github.com/andywer/typed-emitter/issues/32#issuecomment-1041313893 (If so it gives the same error..)

@devjayantmalik Nice, then it is actually happy! (In fact, it seems you don't need the `` but only the `` part for TS to be happy) https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAFQJ5gKYBMCiJgxqqAGjgG85MA3VAOxgFkBDMOAXzgDMoIQ4ByGFBgC0qHHgK8A3AFgAUKEixyVWtlz4oHLj16oVMAM5S5cgWjh1UBgwwDmqSjUNwAvKTlw4BLlABccAApvaH9MKB8ASlcAPjgKCGB0Qg84ECsbe38AgCMIdCR-AxgoYGpbYk5uQuLS2yiXWPjEuRYTWQBjABsGawskR1UxDQAeBFjUAA98anQDQIGYNXFNHtI4alQAd1HogIj-ZDQsIYJRuAAyZSdGMFiWCJ33WU8Aehe4TYALBnwqKBa2l0enMAMrcVAwT61BDfRZiAyWax2KxeKY0WZ9BZLEaIjIOfQGWIkFJvD6wvQEFpAA

I did not have a chance to look at this beyond just trying the app and noticing it was really slow to mousewheel-scroll as it is scrolling one pixel per...

Derp. I see now there is a { initialEvent: 'single type' } It would be good though if there was a way of specifying different types of events for the...