Added babel for ES6 functionality. In this case the new import statements

This commit is contained in:
2019-07-27 01:28:41 +02:00
parent 04ba094a14
commit 8e23ae5a27
9 changed files with 22 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
const Movie = require('src/tmdb/types/movie');
import { Movie } from './types'
const tmdbSwitcher = (tmdbMovie, property) => tmdbMovie[property]