Skip to content

Commit

Permalink
Readonly types where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
nicfv committed Mar 28, 2024
1 parent 7228753 commit bded37c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
export interface SVGIDMapping {
svgId: string;
mappedName: string;
readonly svgId: string;
readonly mappedName: string;
}
export interface ACESVGOptions {
captureMappings: boolean;
addAllIDs: boolean;
svgSource: string;
svgAutocomplete: boolean;
eventSource: string;
eventAutocomplete: boolean;
initSource: string;
initAutocomplete: boolean;
readonly captureMappings: boolean;
readonly addAllIDs: boolean;
readonly svgSource: string;
readonly svgAutocomplete: boolean;
readonly eventSource: string;
readonly eventAutocomplete: boolean;
readonly initSource: string;
readonly initAutocomplete: boolean;
svgMappings: SVGIDMapping[];
}
export interface ACESVGDefaults {
svgNode: string;
initSource: string;
eventSource: string;
svgMappings: SVGIDMapping[];
readonly svgNode: string;
readonly initSource: string;
readonly eventSource: string;
readonly svgMappings: SVGIDMapping[];
}

0 comments on commit bded37c

Please sign in to comment.