diff --git a/typings/mysql/lib/protocol/packets/FieldPacket.d.ts b/typings/mysql/lib/protocol/packets/FieldPacket.d.ts index 29d91e21ae..316c44ed77 100644 --- a/typings/mysql/lib/protocol/packets/FieldPacket.d.ts +++ b/typings/mysql/lib/protocol/packets/FieldPacket.d.ts @@ -3,19 +3,25 @@ declare interface FieldPacket { name: 'FieldPacket'; }; catalog: string; - charsetNr: number; - db: string; + charsetNr?: number; + db?: string; + schema?: string; + characterSet?: number; decimals: number; - default: any; - flags: number; - length: number; + default?: any; + flags: number | string[]; + length?: number; name: string; orgName: string; orgTable: string; - protocol41: boolean; + protocol41?: boolean; table: string; - type: number; - zerofill: boolean; + type?: number; + columnType?: number + zerofill?: boolean; + typeName?: string; + encoding?: string; + columnLength?: number; } export { FieldPacket };