Skip to content

Commit

Permalink
Use Record instead of Object
Browse files Browse the repository at this point in the history
  • Loading branch information
dolanmiu committed Nov 1, 2023
1 parent afdd5f2 commit d4f1607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file/xml-components/xmlable-object.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface IXmlAttribute {
readonly [key: string]: string | number | boolean;
}
export interface IXmlableObject extends Object {
export interface IXmlableObject extends Record<string, unknown> {
// readonly _attr?: IXmlAttribute;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
readonly [key: string]: any;
Expand Down

0 comments on commit d4f1607

Please sign in to comment.