NativeScript / NativeScript/plugins

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

オープン
#566 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
206
フォーク
123
平均マージ
2日 1時間
マージ済み PR(30日)
1

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

packages/google-signin/index.android.ts の ClickListenerImpl 宣言付近にある参照された行から始め、worker から import したときにレポートに表示される生成済み JavaScript と比較します。worker からの import を再現し、そこで Interfaces が利用できない理由を追跡します。完了の条件は、worker からの import で undefined-Interfaces エラーが発生しなくなることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, typescript
領域
mobile-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。