repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'DRVWEB-4389-small-fixes-public-page' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
utils
/
addItem.ts
blob
6530e47e730d0fdc1e8f528088aec162e8cde377
1
/**
2
* Adds an item to an array
3
*/
4
export default function addItem<T>(array: T[], item: T) {
5
return array.concat(item);
6
}