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

declare namespace fgui { class Image extends Laya.Sprite 报错 #71

Open
bournes opened this issue May 20, 2021 · 1 comment
Open

declare namespace fgui { class Image extends Laya.Sprite 报错 #71

bournes opened this issue May 20, 2021 · 1 comment

Comments

@bournes
Copy link

bournes commented May 20, 2021

'width' is defined as an accessor in class 'Sprite', but is overridden here in 'Image' as an instance property.ts(2610)

@6653302wy
Copy link

6653302wy commented Dec 29, 2021

fairygui.d.ts文件内报错的地方 width, height, texture各加_, 修改成 _width, _height, _texture

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

No branches or pull requests

2 participants