Skip to content

Commit 1208b7a

Browse files
authored
Merge pull request #134 from SunsetTechuila/main
fix: properly type `charset`
2 parents 6e5e614 + ebcc602 commit 1208b7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface KnownProps {
1919
insert_final_newline?: true | false | 'unset';
2020
tab_width?: number | 'unset';
2121
trim_trailing_whitespace?: true | false | 'unset';
22-
charset?: string | 'unset';
22+
charset?: 'latin1' | 'utf-8' | 'utf-8-bom' | 'utf-16be' | 'utf-16le' | 'unset';
2323
}
2424

2525
interface UnknownMap {

0 commit comments

Comments
 (0)