Skip to content

Instantly share code, notes, and snippets.

@intojs
Created December 5, 2017 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save intojs/4b4fb924409087cd38242e03e87b4726 to your computer and use it in GitHub Desktop.
Save intojs/4b4fb924409087cd38242e03e87b4726 to your computer and use it in GitHub Desktop.
Mocking in Typescript - Product.ts
import { Price } from './Price';
export interface Product {
name: string;
description: string;
longDescription: string;
imageOne: string;
imageTwo: string;
imageThree: string;
price: Price;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment