'use strict';
import jsTypes from 'js-types';

const lowerCaseTypes = jsTypes.map(type => type.toLowerCase());

/**
 * Determine if a type is JS type
 * @param {Stirng} type - type to verify
 * @return {Boolean} - type is a JS type
 */
export default function isJsType(type) {
  if (typeof type !== 'string') {
    throw new TypeError('Expected type to be a string');
  }

  return lowerCaseTypes.indexOf(type.toLowerCase()) > -1;
}

@@ -233,22 +233,24 @@
  */%0A
-export default
+module.exports =
  fun
@@ -427,9 +427,10 @@
  %3E -1;%0A%7D
+;
 %0A

use module.exports instead of default