Skip to content

Commit e4e1ece

Browse files
robert-westenbergerRobert Westenberger
andauthored
fix: update typing for StringifyOptions["lineWidth"] to match comment (#17)
Co-authored-by: Robert Westenberger <Robert.Westenberger@healthtrio.com>
1 parent a7310fd commit e4e1ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ interface StringifyOptions {
7575
indent?: ' ' | string, // tabs are also valid
7676
keySep?: ' = ' | string, // should have at most one = or :
7777
latin1?: true | boolean, // default encoding for .properties files
78-
lineWidth?: 80 | number, // use null to disable
78+
lineWidth?: 80 | number | null, // use null to disable
7979
newline?: '\n' | string, // Windows uses \r\n
8080
pathSep?: '.' | string // if non-default, use the same in parse()
8181
foldChars?: '\f\t .' | string

0 commit comments

Comments
 (0)