Skip to content

Commit 377b084

Browse files
committed
Make all *Case types point to the same underlying type
1 parent bff058d commit 377b084

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/FormatOptions.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ import { ParamTypes } from './lexer/TokenizerOptions.js';
55
export type IndentStyle = 'standard' | 'tabularLeft' | 'tabularRight';
66

77
export type KeywordCase = 'preserve' | 'upper' | 'lower';
8-
9-
export type IdentifierCase = 'preserve' | 'upper' | 'lower';
10-
11-
export type DataTypeCase = 'preserve' | 'upper' | 'lower';
12-
13-
export type FunctionCase = 'preserve' | 'upper' | 'lower';
8+
export type IdentifierCase = KeywordCase;
9+
export type DataTypeCase = KeywordCase;
10+
export type FunctionCase = KeywordCase;
1411

1512
export type LogicalOperatorNewline = 'before' | 'after';
1613

0 commit comments

Comments
 (0)