type Example<T> = { items: T[]}type StringItems = Example<string>["items"]// string[]function getStringItem(stringItems:StringItems){ // ...}