chore: lint-format-docs-tests-bugfixes (#105)
* docs: add jsdoc * feat: change enums to as const objects * chore(test): add themeColors.test.ts * fix: fix tests and bugs with strings.ts util * fix: path alias imports and tsconfig file bug * fix: remove --max-warnings 0
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable jsdoc/require-jsdoc */
|
||||
export default interface BrowserActionMessages {
|
||||
/** make it so that clicking the browser action will open the popup.html */
|
||||
enableBrowserAction: () => void;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable jsdoc/require-jsdoc */
|
||||
export default interface HotReloadingMessages {
|
||||
reloadExtension: () => void;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import { Course } from '../types/Course';
|
||||
import type { Course } from '@shared/types/Course';
|
||||
|
||||
/**
|
||||
* Represents a collection of user schedule messages.
|
||||
*/
|
||||
export interface UserScheduleMessages {
|
||||
/**
|
||||
* Add a course to a schedule
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { createMessenger } from 'chrome-extension-toolkit';
|
||||
import BrowserActionMessages from './BrowserActionMessages';
|
||||
import TabManagementMessages from './TabManagementMessages';
|
||||
import TAB_MESSAGES from './TabMessages';
|
||||
import { UserScheduleMessages } from './UserScheduleMessages';
|
||||
|
||||
import type BrowserActionMessages from './BrowserActionMessages';
|
||||
import type TabManagementMessages from './TabManagementMessages';
|
||||
import type TAB_MESSAGES from './TabMessages';
|
||||
import type { UserScheduleMessages } from './UserScheduleMessages';
|
||||
|
||||
/**
|
||||
* This is a type with all the message definitions that can be sent TO the background script
|
||||
|
||||
Reference in New Issue
Block a user