File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export async function resolveOpenApiSpec(config: ResolveSpecConfig): Promise<Res
9090}
9191
9292// Module-scope manifest cache: undefined = not yet tried, null = tried and missing
93- let generatedSpecManifest : Record < string , string > | null | undefined = undefined
93+ let generatedSpecManifest : { [ version : string ] : string } | null | undefined = undefined
9494
9595async function tryLoadPreGeneratedSpec (
9696 apiVersion : string
@@ -104,7 +104,7 @@ async function tryLoadPreGeneratedSpec(
104104 path . join ( GENERATED_SPECS_DIR , 'manifest.json' ) ,
105105 'utf8'
106106 )
107- generatedSpecManifest = JSON . parse ( manifestRaw ) as Record < string , string >
107+ generatedSpecManifest = JSON . parse ( manifestRaw ) as { [ version : string ] : string }
108108 } catch {
109109 generatedSpecManifest = null
110110 return null
You can’t perform that action at this time.
0 commit comments