We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e54f60 commit 0703731Copy full SHA for 0703731
general.ts
@@ -115,7 +115,7 @@ export function formatBytes(bytes: number, decimals = 2) {
115
export type enumToArrayOptions = {
116
caseType?: caseType;
117
prefix?: string;
118
- nameFunction: (name: string) => string;
+ nameFunction?: (name: string) => string;
119
}
120
121
export function enumToArray(e: Object, options: enumToArrayOptions | null = null): any[] {
0 commit comments