thekevinscott / UpscalerJS

Found warning comments in code JS-0099
Documentation
Minor
6 months ago2 years old
Unexpected 'todo' comment: 'TODO: Why do we need to explicitly cast...'
 33import type { TF, ModelDefinitionObjectOrFn, } from '../../../shared/src/types';
 34import { getModel, } from './model-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;