typeset - alias for declare.
typeset [-agirx] [name[=value] ...] typeset -p [name ...]
typeset is a Bash-compatible alias for declare. It accepts the same options and has the same scoping, attribute, array, output, and exit-status behavior. Printed declarations use the name declare.