NativeScript / plugins

@nativescript plugins to help with your developments.
https://docs.nativescript.org/plugins/index.html
Apache License 2.0
187 stars 104 forks source link

[@nativescript/google-signin] Interfaces is not defined in worker #566

Open vallemar opened 5 months ago

vallemar commented 5 months ago

Hi, I have a problem when I import this file in worker, the Interfazes is not defined https://github.com/NativeScript/plugins/blob/main/packages/google-signin/index.android.ts#L254

I imported globals but not help the output .js code is

ClickListenerImpl = __decorate([
        Interfaces([android.view.View.OnClickListener]),
        __metadata("design:paramtypes", [typeof (_a = typeof WeakRef !== "undefined" && WeakRef) === "function" ? _a : Object])
    ], ClickListenerImpl)
triniwiz commented 5 months ago

What version of the runtime was this ?

vallemar commented 5 months ago

Hi @triniwiz, I have this versions:

 "dependencies": {
    "@nativescript/core": "^8.6.2",
    "@nativescript/google-signin": "^2.0.6",
  },
  "devDependencies": {
    "@nativescript/android": "next",
    "@nativescript/ios": "next",
    "@nativescript/types": "~8.5.0",
    "@nativescript/webpack": "~5.0.0",
  }