Skip to content

Commit

Permalink
chore: refactor TypeCastField import for Field and deprecated des…
Browse files Browse the repository at this point in the history
…cription
  • Loading branch information
wellwelwel committed Feb 1, 2024
1 parent ddf31b1 commit 03aad0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/mysql/lib/protocol/packets/Field.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// TODO (major version): remove workaround for `Field` compatibility.
import { Field as TypeCastField } from '../../../lib/parsers/typeCast.js';
import { TypeCastField } from '../../../lib/parsers/index.js';

/**
* @deprecated
* `Field` is deprecated and might be removed in the future major release. Please use `TypeCastField` property instead.
* `Field` is deprecated and might be removed in the future major release. Please use `TypeCastField` type instead.
*/
declare interface Field extends TypeCastField {}

Expand Down

0 comments on commit 03aad0a

Please sign in to comment.