diff --git a/e2e/tests/typescript-project.test.ts b/e2e/tests/typescript-project.test.ts index bd3de7a3..b9059982 100644 --- a/e2e/tests/typescript-project.test.ts +++ b/e2e/tests/typescript-project.test.ts @@ -120,7 +120,7 @@ describe('TypeScript Project', () => { /** * The extension or app ID; you might use this string to construct URLs for resources inside the extension. Even unlocalized extensions can use this message. Note: You can't use this message in a manifest file. - * + * * \\"\\" */ getMessage( @@ -130,7 +130,7 @@ describe('TypeScript Project', () => { ): string; /** * - * + * * \\"\\" */ getMessage( @@ -140,7 +140,7 @@ describe('TypeScript Project', () => { ): string; /** * The text direction for the current locale, either \\"ltr\\" for left-to-right languages such as English or \\"rtl\\" for right-to-left languages such as Japanese. - * + * * \\"\\" */ getMessage( @@ -150,7 +150,7 @@ describe('TypeScript Project', () => { ): string; /** * If the @@bidi_dir is \\"ltr\\", then this is \\"rtl\\"; otherwise, it's \\"ltr\\". - * + * * \\"\\" */ getMessage( @@ -160,7 +160,7 @@ describe('TypeScript Project', () => { ): string; /** * If the @@bidi_dir is \\"ltr\\", then this is \\"left\\"; otherwise, it's \\"right\\". - * + * * \\"\\" */ getMessage( @@ -170,7 +170,7 @@ describe('TypeScript Project', () => { ): string; /** * If the @@bidi_dir is \\"ltr\\", then this is \\"right\\"; otherwise, it's \\"left\\". - * + * * \\"\\" */ getMessage( @@ -180,7 +180,7 @@ describe('TypeScript Project', () => { ): string; /** * Ask for the user's name - * + * * \\"What's your name?\\" */ getMessage( @@ -190,7 +190,7 @@ describe('TypeScript Project', () => { ): string; /** * Greet the user - * + * * \\"Hello, $USER$\\" */ getMessage( @@ -200,7 +200,7 @@ describe('TypeScript Project', () => { ): string; /** * Say goodbye to the user - * + * * \\"Goodbye, $USER$. Come back to $OUR_SITE$ soon!\\" */ getMessage( diff --git a/src/core/utils/building/generate-wxt-dir.ts b/src/core/utils/building/generate-wxt-dir.ts index 2668c41d..10df0d35 100644 --- a/src/core/utils/building/generate-wxt-dir.ts +++ b/src/core/utils/building/generate-wxt-dir.ts @@ -135,7 +135,7 @@ declare module "wxt/browser" { const overrides = messages.map((message) => { return ` /** * ${message.description ?? 'No message description.'} - * + * * "${message.message}" */ getMessage(