xxxxxxxxxx
--- lib.d
static if (__VERSION__ >= 2098)
{
alias Foo = TypeA;
}
else
alias Foo = TypeB;
struct TypeA {}
struct TypeB {}
--- app.d
import lib;
Foo foo;
void main() {}