UNPKG

676 BSource Map (JSON)View Raw
1{"version":3,"file":"defineAkteApp.cjs","sources":["../../src/defineAkteApp.ts"],"sourcesContent":["import { AkteApp, type Config } from \"./AkteApp\";\n\n/**\n * Creates an Akte app from given configuration.\n *\n * @typeParam TGlobalData - Global data type the app should be configured with\n * (inferred by default)\n * @param config - Configuration to create the Akte app with.\n * @returns The created Akte app.\n */\nexport const defineAkteApp = <TGlobalData>(\n\tconfig: Config<TGlobalData>,\n): AkteApp<TGlobalData> => {\n\treturn new AkteApp(config);\n};\n"],"names":["AkteApp"],"mappings":";;;AAUa,MAAA,gBAAgB,CAC5B,WACyB;AAClB,SAAA,IAAIA,QAAAA,QAAQ,MAAM;AAC1B;;"}
\No newline at end of file