UNPKG

879 BJavaScriptView Raw
1/**
2 * This module was automatically generated by `ts-interface-builder`
3 */
4import * as t from "ts-interface-checker";
5// tslint:disable:object-literal-key-quotes
6
7export const Transform = t.union(
8 t.lit("jsx"),
9 t.lit("typescript"),
10 t.lit("flow"),
11 t.lit("imports"),
12 t.lit("react-hot-loader"),
13 t.lit("jest"),
14);
15
16export const SourceMapOptions = t.iface([], {
17 compiledFilename: "string",
18});
19
20export const Options = t.iface([], {
21 transforms: t.array("Transform"),
22 jsxPragma: t.opt("string"),
23 jsxFragmentPragma: t.opt("string"),
24 enableLegacyTypeScriptModuleInterop: t.opt("boolean"),
25 enableLegacyBabel5ModuleInterop: t.opt("boolean"),
26 sourceMapOptions: t.opt("SourceMapOptions"),
27 filePath: t.opt("string"),
28 production: t.opt("boolean"),
29});
30
31const exportedTypeSuite = {
32 Transform,
33 SourceMapOptions,
34 Options,
35};
36export default exportedTypeSuite;