is not a function at Object. code example
Example 1: Uncaught TypeError is not a function JavaScript
jQuery(document).ready(function($){
// jQuery code is in here
});
Example 2: gql TypeError: Object(...) is not a function
import gql from 'graphql-tag';
// then use it normally