UNPKG

677 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.createFixture = createFixture;
7
8// Not setting the return value to F because that would make createFixture
9// return a generic type, which requires explicit typing of P when exporting
10// the returned fixture.
11// This is the Flow error from a fixture file when createFixture returned the
12// F type:
13// "Missing type annotation for P. P is a type parameter declared in function
14// [1] and was implicitly instantiated at call of createFixture [2]."
15// Context: https://medium.com/flow-type/asking-for-required-annotations-64d4f9c1edf8
16function createFixture(fixture) {
17 return fixture;
18}
\No newline at end of file