Yes - trying to access a property or method on something typed as unknown will (almost?) always result in a compile time error because it's unknown whether the value has that property or not.
https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABAd...