16 lines
232 B
JavaScript
16 lines
232 B
JavaScript
/**
|
|
* @flow
|
|
*/
|
|
|
|
export type IdentifierMockType = {|
|
|
type: 'Identifier',
|
|
name: string,
|
|
|};
|
|
|
|
export default function IdentifierMock(ident: string): IdentifierMockType {
|
|
return {
|
|
type: 'Identifier',
|
|
name: ident,
|
|
};
|
|
}
|