Keyword Binding .one-way not work in Aurelia 2

I’m a new user of Aurelia.
so I started following the documentation, and right at the beginning, I found that in “chapter 2. Keyword Binding” there is an example where the binding keyword .one-way doesn’t work:

Examples of Keyword Binding

my-app.htm:

...

my-app.ts:
export class MyApp {

lastName = ‘Doe’;

}

Can someone from the community help me explain this?
Thanks

I think it would help to include a link to chapter 2 to understand whether you are refering to an outside resource or the Aurelia documentation, also which version, Aurelia1 or Aurelia2. I have used one-way and one-time quite a bit in Aurelia and it has worked, but one thing that caught me was that variable references had to change when moving from Aurelia1 to Aurelia2