Ich versuche, die Animation in meiner Android -App zu ziehen. ist das, was ich zu erreichen versuche. this.anim1= AnimationUtils.loadAnimation(this, R.anim.layout_trans_bottom_to_top);
this.anim2=...
Type error: Type '{ params: { type: string; }; }' does not satisfy the constraint 'PageProps'.
Types of property 'params' are incompatible.
Type '{ type: string; }' is missing the following...
Ich versuche anzudeuten, dass ein Pydantic BaseModel-Feld das Klassentupel oder eine seiner Unterklassen sein muss, also habe ich das Feld als type eingegeben:
from pydantic import BaseModel