Add missing typescript def