refactor: use safe type assertion
refactor: use safe type assertion

sebn/cozy-stack,nono/cozy-stack,sebn/cozy-stack,nono/cozy-stack,sebn/cozy-stack,nono/cozy-stack,nono/cozy-stack,sebn/cozy-stack,nono/cozy-stack