recipe-ts-runtime
Version:
TypeScript run-time library for the Recipe framework
13 lines (12 loc) • 328 B
TypeScript
import { Recipe } from "./Recipe";
import { Cake } from "./Cake";
export declare class Payload {
private recipe;
private cake;
constructor(recipe: Recipe, cake: Cake);
static fromJSON(json: any, ingredientTypes: {
[key: string]: Function;
}): Payload;
getRecipe(): Recipe;
getCake(): Cake;
}