Skip to content

Commit

Permalink
TASK: Resolve linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
markusguenther committed Dec 16, 2024
1 parent 307d8bb commit 395502a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/neos-ts-interfaces/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,5 @@ export interface GlobalRegistry {
get: <K extends string>(key: K) => K extends 'i18n' ? I18nRegistry :
K extends 'validators' ? ValidatorRegistry : null;
}

export type {I18nRegistry} from '@neos-project/neos-ui-i18n';
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {processSelectBoxOptions} from './selectBoxHelpers';
import {I18nRegistry} from '@neos-project/neos-ts-interfaces';

const fakeI18NRegistry: I18nRegistry = {
const fakeI18NRegistry = {
translate: (id) => id ?? ''
};
} as I18nRegistry;

describe('processSelectBoxOptions', () => {
it('transforms an associative array with labels to list of objects', () => {
Expand Down

0 comments on commit 395502a

Please sign in to comment.