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

SPFX 1.20.0 error TS2322: Type 'WebPartContext' is not assignable to type 'BaseComponentContext'. #1888

Open
bva999 opened this issue Oct 3, 2024 · 1 comment

Comments

@bva999
Copy link

bva999 commented Oct 3, 2024

Category

[ ] Enhancement

[ x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 3.19.0 ]

After upgrade SPFX to version 1.20.0 , occurs a lot of errors.

@NishkalankBezawada
Copy link
Contributor

Hello @bva999

Can you try giving as below and check.

_context : this.context as any,

Thanks,
Nishkalank

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