Skip to content

Commit 057518d

Browse files
committed
apply suggestions from review
1 parent 665fcaf commit 057518d

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

packages/wxt/src/core/utils/manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export async function generateManifest(
128128
wxt.logger.warn(
129129
'Firefox requires `data_collection_permissions` for new extensions from November 3, 2025. Existing extensions are exempt for now.\n' +
130130
'For more details, see: https://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/\n' +
131-
'To suppress this warning, add `firefoxDataCollection: true` to `suppressWarnings` in your wxt config.\n',
131+
'To suppress this warning, set `suppressWarnings.firefoxDataCollection` to `true` in your wxt config.\n',
132132
);
133133
}
134134

packages/wxt/src/types.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,7 @@ export interface InlineConfig {
143143
* })
144144
* ```
145145
*/
146-
suppressWarnings?: { firefoxDataCollection?: boolean } & Record<
147-
string,
148-
boolean
149-
>;
146+
suppressWarnings?: { firefoxDataCollection?: boolean };
150147
/**
151148
* Configure browser startup. Options set here can be overridden in a `web-ext.config.ts` file.
152149
*/
@@ -1438,10 +1435,7 @@ export interface ResolvedConfig {
14381435
/**
14391436
* List of warning identifiers to suppress during the build process.
14401437
*/
1441-
suppressWarnings: { firefoxDataCollection?: boolean } & Record<
1442-
string,
1443-
boolean
1444-
>;
1438+
suppressWarnings: { firefoxDataCollection?: boolean };
14451439
dev: {
14461440
/** Only defined during dev command */
14471441
server?: {

0 commit comments

Comments
 (0)