Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joheredi committed Oct 20, 2023
1 parent 71012b9 commit 866cfcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typespec-ts/src/modular/helpers/typeHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function handleListType(type: Type): TypeMetadata {
}

const typeMetadata = getType(type.elementType, type.elementType.format);
let nestedName = getTypeName(typeMetadata);
const nestedName = getTypeName(typeMetadata);

return {
name: nestedName,
Expand Down Expand Up @@ -217,7 +217,7 @@ export function buildType(clientName?: string, type?: Type, format?: string) {
}

const typeMetadata = getType(type, format);
let typeName = getTypeName(typeMetadata);
const typeName = getTypeName(typeMetadata);

return { name: clientName ?? "", type: typeName };
}

0 comments on commit 866cfcd

Please sign in to comment.