allow typeof