import typeof method