Question: Get selected later type
Layer type is very important for developers and the documentation  indicates only the .name is available - how do we get the selected layer .type? Using the sketch javascript api ?