I'm trying to implement real-time database of firebase to my typescript react app, base on this Medium post: https://levelup.gitconnected.com/todo-app-using-firebase-react-typescript-ea0a34bd417d
In the config step, I got the error property 'database' does not exist on type 'firebaseapp' ts(2339)

I searched for the error but cannot find the answer, can anyone help ? this is my first time i ask something so if my question make any inconvenient for you i'm sorry, thank you guys a lot for your help