File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,12 @@ export type Version = {
10
10
noCommit ?: boolean ;
11
11
} ;
12
12
13
- export type Versions = {
14
- [ lang : string ] : Version ;
15
- } ;
13
+ export type Versions = Record < string , Version > ;
16
14
17
- export type VersionsBeforeBump = {
18
- [ lang : string ] : Omit < Version , 'next' | 'releaseType' > ;
19
- } ;
15
+ export type VersionsBeforeBump = Record <
16
+ string ,
17
+ Omit < Version , 'next' | 'releaseType' >
18
+ > ;
20
19
21
20
export type Scope = Language | 'clients' | 'specs' ;
22
21
Original file line number Diff line number Diff line change @@ -62,12 +62,13 @@ export type Spec = {
62
62
*/
63
63
type Server = {
64
64
url : string ;
65
- variables ?: {
66
- [ k : string ] : {
65
+ variables ?: Record <
66
+ string ,
67
+ {
67
68
enum ?: string [ ] ;
68
69
default : string ;
69
- } ;
70
- } ;
70
+ }
71
+ > ;
71
72
} ;
72
73
73
74
/**
You can’t perform that action at this time.
0 commit comments