Fixed typescript plugin