fix template injection into session for templateMode typescript
fix template injection into session for templateMode typescript

hackerrdave/amorphic,selsamman/amorphic,hackerrdave/amorphic,selsamman/amorphic,selsamman/amorphic,hackerrdave/amorphic,selsamman/amorphic,hackerrdave/amorphic