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 13, 2024
1 parent b903fb0 commit 9b1bddb
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 9b1bddb

Please sign in to comment.