Skip to content

Commit e77a4f6

Browse files
committed
Added TODO comment about localization.
1 parent d2e8150 commit e77a4f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/blocks/utils/variable.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ export function varNameForType(type: string): string {
6161
if (alias) {
6262
type = alias;
6363
}
64-
64+
65+
// TODO(lizlooney): Should the prefix "my" in myTuple, myDict, myCallable, myArray, and my<type> be localized?
66+
// TODO(lizlooney): Should variable names be lowerPascalCase or snake_case?
67+
6568
if (type.startsWith('tuple[') || type.startsWith('Tuple[')) {
6669
return 'myTuple';
6770
}

0 commit comments

Comments
 (0)