Skip to content

Instantly share code, notes, and snippets.

@mortezadalil
Created January 9, 2022 12:10
Show Gist options
  • Save mortezadalil/fabfdf61540d45a1f08f2cb334efc1ee to your computer and use it in GitHub Desktop.
Save mortezadalil/fabfdf61540d45a1f08f2cb334efc1ee to your computer and use it in GitHub Desktop.
import { Document } from 'mongoose';
export default interface IProduct extends Document {
name: string;
price: number;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment