fix sharp-star type declaration