Skip to content

Remove Deprecated TypeScript Features #224

@MaryamAdnan3

Description

@MaryamAdnan3
Deprecated Feature Files Affected Fix
ts-ignore without justification Various Replace with inline @ts-expect-error and provide a reason.
String.prototype.trimLeft() and trimRight() queryString.ts Replace with trimStart() and trimEnd().
Manual Function.prototype.bind() calls apiLogger.ts, defaultLogger.ts Use arrow functions instead.
Old-style import * as fs from "fs" for Node modules loggingOptions.ts Use ESM-style imports (import { readFile } from "fs/promises";).

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions