Cleanup unsed imports

This commit is contained in:
Aaron Klinker
2024-01-14 16:18:47 -06:00
parent b17bd87865
commit ebd50079a7
4 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import {
} from '~/types';
import { getPublicFiles } from '~/core/utils/fs';
import fs from 'fs-extra';
import { dirname, resolve, basename, extname } from 'node:path';
import { dirname, resolve, extname } from 'node:path';
import type { Ora } from 'ora';
import pc from 'picocolors';
import { unnormalizePath } from '~/core/utils/paths';
+1
View File
@@ -211,6 +211,7 @@ export const fakeInternalConfig = fakeObjectCreator<InternalConfig>(() => {
outBaseDir: fakeDir(),
outDir: fakeDir(),
publicDir: fakeDir(),
localesDir: fakeDir(),
root: fakeDir(),
runnerConfig: {
config: {},
+1 -1
View File
@@ -1,4 +1,4 @@
import { describe, it, vi, expect, expectTypeOf } from 'vitest';
import { describe, it, vi, expect } from 'vitest';
import { createExtensionI18n } from '../client';
import { fakeBrowser } from '@webext-core/fake-browser';
+8
View File
@@ -1,3 +1,11 @@
/**
* Simple, type-safe alternative to `browser.i18n.getMessage` with support for placeholders and plurals.
*
* See [the guide](https://wxt.dev/guide/localization.html) for more information.
*
* @module wxt/i18n
*/
import { DefaultMessageSchema, createExtensionI18n } from './client';
export interface WxtMessageSchema extends DefaultMessageSchema {