Update ninja.ts

Minor changes