We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f218190 commit be7b42dCopy full SHA for be7b42d
website/src/components/Submission/FileUpload/ColumnMapping.ts
@@ -3,11 +3,7 @@ import type { InputField } from '../../../types/config';
3
import stringSimilarity from '../../../utils/stringSimilarity';
4
5
export class ColumnMapping {
6
- private readonly map: ReadonlyMap<string, string | null>;
7
-
8
- private constructor(map: ReadonlyMap<string, string | null>) {
9
- this.map = map;
10
- }
+ private constructor(private readonly map: ReadonlyMap<string, string | null>) {}
11
12
private static getBestMatchingTargetColumn(sourceColumn: string, inputFields: InputField[]): string | null {
13
const [bestMatch, score] = inputFields
0 commit comments