Getting CurvePoint’s variables
Similar to how I can set a `ShapePath` as a variable like so:

```
let sketch = require('sketch')
let ShapePath = sketch.ShapePath
let oval = ShapePath.ShapeType.Oval
```

How come I can’t do the same with `CurvePoint`

```
let sketch = require('sketch')
let CurvePoint = sketch.CurvePoint
let straight = CurvePoint.PointType.Straight
```

I’m trying to get at the variable `PointType`  and use it like so:

```
let sketch = require('sketch’)
let ShapePath = sketch.ShapePath
let CurvePoint = sketch.CurvePoint

let straight = CurvePoint.PointType.Straight

let myLine = new sketch.ShapePath({
  name: 'myLine',
  frame: {x: 10, y: 0, width: 40, height: 100},
  style: { borders: ['#FF0000'] },
  points: [{ point: { x: 0, y: 0 }, pointType: straight}, { point: { x: 1, y: 1 }, pointType: straight}],
  parent: myArtboard,
  closed: false
})
```