Hi Harbs,

Today I have wiped out my cached Maven artifacts and tried build our
application where I'm using all stuff which you have lately added. I'm
getting following type of issues and cannot build my project:

 Error: Type was not found or was not a compile-time constant: IRouter.

                function get router():IRouter;

Error: Access of possibly undefined property BrowserRouter.

                        var router:BrowserRouter = event.target as
BrowserRouter;

I'm wondering what is being missed? I was trying to add those classes
in BasicClasses
but it doesn't help. Note that I'm able to build my application using ANT
build from Jenkins.

Any thoughts ?

Thanks,
Piotr

wt., 21 kwi 2020 o 14:18 Harbs <harbs.li...@gmail.com> napisał(a):

> It should be fixed.
>
> > On Apr 21, 2020, at 2:47 PM, Harbs <harbs.li...@gmail.com> wrote:
> >
> > Yeah. I’ll fix that…
> >
> >> On Apr 21, 2020, at 10:59 AM, Piotr Zarzycki <piotrzarzyck...@gmail.com>
> wrote:
> >>
> >> Hi Harbs,
> >>
> >> I see some properties which would no longer work [1] - If I use
> >> BrowserRouter as a host. In this specific class that property is not
> used,
> >> but I'm pointing to the issue. Maybe HasRouter and BrowserRouter should
> >> have some common interface ?
> >>
> >> [1]
> >>
> https://github.com/apache/royale-asjs/blob/fa4e6bdf58ea30f68d5efc0e9cc98318d4f0d293/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/RouteToParameters.as#L35
> >>
> >> Thanks,
> >> Piotr
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to