Removes lingering flow type definitions.

This commit is contained in:
Joel Arvidsson
2016-05-07 17:16:14 -04:00
parent ea352f48a1
commit db9974b6ec

View File

@@ -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?');