tinro icon indicating copy to clipboard operation
tinro copied to clipboard

fix ts error "'typeof Route' is not assignable to"

Open Sanshain opened this issue 1 year ago • 0 comments

An error has occurred on latest versions of typescript (4.8.2), svelte (3.49.0) and tinro (0.6.12 - now the latest version on npm):

image

Full error text:

Argument of type 'typeof Route' is not assignable to parameter of type 'ConstructorOfATypedSvelteComponent'.
  Type 'Route' is missing the following properties from type 'ATypedSvelteComponent': $$events_def, $on

This commit completely solved the problem for me

Sanshain avatar Sep 18 '22 09:09 Sanshain