Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error TS2564 #574

Open
m2wasabi opened this issue Aug 15, 2018 · 2 comments
Open

Fix compile error TS2564 #574

m2wasabi opened this issue Aug 15, 2018 · 2 comments

Comments

@m2wasabi
Copy link
Contributor

m2wasabi commented Aug 15, 2018

TS2564 がたくさんあるので直さなきゃ

方針決めたら後は作業です…

参考:TypeScript 2.7.1 変更点

@m2wasabi
Copy link
Contributor Author

一番楽なクソザコ対応は変数の後ろに ! を付ける方法です。

  /**
   * global document object
   */
  public document!: Document;

@m2wasabi
Copy link
Contributor Author

!つけるだけならPR参照。
ちゃんとコンストラクタで初期化するならPR却下してがんばれ…!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant