Angular - TypeScript in Angular
Consider the interface and object below:
What is the issue with this code?
interface Movie { title: string; duration: number; }
const myMovie: Movie = { title: 'Inception' };What is the issue with this code?
