Skip to content

Commit

Permalink
use mapped type for OpenApiProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
kainpets committed Nov 2, 2023
1 parent ea861de commit b100dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc-snippet-bot/src/generate-properties-table.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { OpenApiProperties } from "./get-openapi-properties-for-endpoint"
export function generatePropertiesTable(
extractedProperties: { [x: string]: OpenApiProperties },
extractedProperties: { [key in string]: OpenApiProperties },
extractedEndpoint: string,
) {
const markdownTable: Array<string | string[]> = []
Expand Down

0 comments on commit b100dfe

Please sign in to comment.