diff --git a/lib/create-icon-set.js b/lib/create-icon-set.js index 07b03df..88ed831 100644 --- a/lib/create-icon-set.js +++ b/lib/create-icon-set.js @@ -56,7 +56,7 @@ export default function createIconSet(glyphMap, fontFamily, fontFile) { glyph = String.fromCharCode(glyph); } - const styleDefaults:Object = { + const styleDefaults = { fontSize: size, fontWeight: 'normal', fontStyle: 'normal', @@ -76,7 +76,7 @@ export default function createIconSet(glyphMap, fontFamily, fontFile) { let imageSourceCache = {}; - function getImageSource(name, size = DEFAULT_ICON_SIZE : number, color = DEFAULT_ICON_COLOR) : Promise { + function getImageSource(name, size = DEFAULT_ICON_SIZE, color = DEFAULT_ICON_COLOR) { if (!NativeIconAPI) { if (Platform.OS === 'android') { throw new Error('RNVectorIconsModule not available, did you properly integrate the module?');