UNPKG

wxt

Version:

⚡ Next-gen Web Extension Framework

24 lines (23 loc) 569 B
//#region src/utils/define-app-config.ts /** * Runtime app config defined in `<srcDir>/app.config.ts`. * * You can add fields to this interface via ["Module * Augmentation"](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation): * * ```ts * // app.config.ts * import 'wxt/utils/define-app-config'; * * declare module 'wxt/utils/define-app-config' { * export interface WxtAppConfig { * analytics: AnalyticsConfig; * } * } * ``` */ function defineAppConfig(config) { return config; } //#endregion export { defineAppConfig };