Webexport class Category { name: string; description: string; } const category: Category = new Category(); Way 2: Extend your interface as a class export class CategoryObject implements Category { } const category: Category = new CategoryObject(); Way 3: Fully specify your object, matching the interface When using Single-File Components (SFCs), we can greatly simplify the usage with