/**
 * @flow
 */

export type LiteralMockType = {|
  type: 'Literal',
  value: string,
  raw: string,
|};

export default function LiteralMock(value: string): LiteralMockType {
  return {
    type: 'Literal',
    value,
    raw: value,
  };
}
