3.0如何给动画组件赋初始值

image 这个怎么赋一个初始值啊

anim!:Animation;
或者
anim:Animation = null!;
或者
tsconfig.json里面
“strict”: false