Skip to content

Commit

Permalink
use "undef" instead of undefined to avoid inheriting the default
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Jun 11, 2024
1 parent dd14db3 commit ece7bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ExifToolOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ const exiftool = new ExifTool({ geoTz: (lat, lon) => geotz.find(lat, lon)[0] })
* - `1` = Read/copy structures
* - `2` = Read/copy both flattened and structured tags, but flag flattened
* tags as "unsafe" for copying
* - `undefined` = Same as `0` for reading and `2` for copying
* - `"undef"` = Same as `0` for reading and `2` for copying
*
* @see https://exiftool.org/struct.html
*/
struct: undefined | 0 | 1 | 2
struct: "undef" | 0 | 1 | 2
}

export function handleDeprecatedOptions<
Expand Down

0 comments on commit ece7bcd

Please sign in to comment.