docs: add missing `Product` interface to example (#42147)

Fixes #42144

PR Close #42147
This commit is contained in:
chenyunhsin 2021-05-18 21:48:35 +08:00 committed by Zach Arend
parent 7f6213a2f4
commit 3293dd34ca
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
export interface Product {
id: number;
name: string;
price: number;
description: string;
}
export const products = [
{
id: 1,