Skip to content

Commit

Permalink
Adressing comment:
Browse files Browse the repository at this point in the history
dimitar-nikolov-lazarov Apr 12, 2024

Same as type definitions i other file.
It would be better to specify exactly that the type is dictionary of key: string, any/string(value).
{ [key: string]: any } or { [key: string]: string }

Signed-off-by: Yordan Nedelchev <ynedelchev@vmware.com>
  • Loading branch information
ynedelchev committed Apr 15, 2024
1 parent fe462b3 commit befb2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/vrotsc/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface FileTransformationContext {
outputs: ProgramOutputs;
diagnostics: DiagnosticCollection;
sourceFiles: ts.SourceFile[];
configIdsMap: any; // Holds ConfigElement Path -> Id mappings.
configIdsMap: {[key: string]: string}; // Holds ConfigElement Path -> Id mappings.
getFile(fileName: string): FileDescriptor | undefined;
readFile(fileName: string): string | undefined;
writeFile(fileName: string, data: string | Buffer): void;
Expand Down

0 comments on commit befb2a9

Please sign in to comment.