According to Angular's docs on ActivatedRoute, it is an interface. How then am I able to inject it into a component constructor like so:
constructor (private route : ActivatedRoute) {
console.log(route)
}
and get an instance? Especially since Typescript interfaces aren't supposed to exist after build-time!?