Issue #2157467 by Xano, Berdir: Fix type hinting for base entity interfaces.