wxt
Version:
⚡ Next-gen Web Extension Framework
21 lines (20 loc) • 600 B
TypeScript
/** @module wxt/utils/define-app-config */
export interface WxtAppConfig {
}
/**
* 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
* }
* }
* ```
*/
export declare function defineAppConfig(config: WxtAppConfig): WxtAppConfig;