thekevinscott / UpscalerJS

Found warning comments in code JS-0099
Documentation
Minor
1 occurrence in this check
Unexpected 'todo' comment: 'TODO: Why do we need to explicitly cast...'.
 33import type { ModelDefinitionObjectOrFn, } from '@upscalerjs/core';
 34import { getModel, } from './utils';
 35
 36// TODO: Why do we need to explicitly cast this to ModelDefinition? 37// This is an ESLint issue, Typescript picks this up correctly
 38/* eslint-disable @typescript-eslint/no-unsafe-assignment */
 39const DEFAULT_MODEL: ModelDefinitionObjectOrFn = DefaultUpscalerModel;