Typedef interface

I am trying to create typedef for interface that my class uses, but facing following error:


interface A();

  logic a;

endinterface

typedef A myIf; // <-- syntax error here

class B;
  virtual myIf intf;

  int x;

  function new();
  endfunction
endclass

I do understand:
typedef virtual A myIf;
is perfectly legal. But above is not working :-(

Any suggestion?
My intention is to supply custom named interface to class/module(s) via typedef.
So as I can change :
typedef A myIf;
to
typedef B myIf;

instead of changing everywhere.

In reply to bhupesh.paliwal:
A virtual interface is a peculiar concept. It behaves like a class variable, but an interface gets defined and instantiated like a module. An interface is not a data type, but a virtual interface is.

In reply to dave_59:

Ok understood.
Is there any no way to achieve DIRECT custom interface name, but I can indeed create custom VIRTUAL interfaces.

typedef A myIf; ← no possible way to have custom interface name
typedef virtual A myIf; ← possible