docs: add missing `Product` interface to example (#42147)
Fixes #42144 PR Close #42147
This commit is contained in:
parent
7f6213a2f4
commit
3293dd34ca
|
@ -1,3 +1,10 @@
|
||||||
|
export interface Product {
|
||||||
|
id: number;
|
||||||
|
name: string;
|
||||||
|
price: number;
|
||||||
|
description: string;
|
||||||
|
}
|
||||||
|
|
||||||
export const products = [
|
export const products = [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
|
|
Loading…
Reference in New Issue