mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
new linting, make sure code is type safe
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import Schema from 'async-validator';
|
||||
import { IP_ADDRESS_VALIDATOR } from './shared';
|
||||
import type { APSettingsType } from 'types';
|
||||
import { isAPEnabled } from 'framework/ap/APSettings';
|
||||
import type { APSettingsType } from 'types';
|
||||
|
||||
import { IP_ADDRESS_VALIDATOR } from './shared';
|
||||
|
||||
export const createAPSettingsValidator = (apSettings: APSettingsType) =>
|
||||
new Schema({
|
||||
|
||||
Reference in New Issue
Block a user