text: // @flow
  
  import type {
    TypeParserType
  } from '../../types';
  
  const bigintParser = (value) => {
    // @todo Use bigint when value is greater than Number.MAX_SAFE_INTEGER.
    return parseInt(value, 10);
  };
  
  export default (): TypeParserType => {
    return {
      name: 'int8',
      parse: bigintParser
    };
  };
  