constructor(id: TypeId, alias: ConstructorFn)
View sourceCreates a deferred resource-alias registration command.
The constructor stores the resource ID and alias constructor; it does not
register the alias until SetResourceAliasCommand#execute runs.
