Skip to content

Commit

Permalink
wow nice
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Jun 15, 2022
1 parent 40a271f commit 34fc402
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
11 changes: 5 additions & 6 deletions scripts/release/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ export type Version = {
noCommit?: boolean;
};

export type Versions = {
[lang: string]: Version;
};
export type Versions = Record<string, Version>;

export type VersionsBeforeBump = {
[lang: string]: Omit<Version, 'next' | 'releaseType'>;
};
export type VersionsBeforeBump = Record<
string,
Omit<Version, 'next' | 'releaseType'>
>;

export type Scope = Language | 'clients' | 'specs';

Expand Down
9 changes: 5 additions & 4 deletions scripts/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ export type Spec = {
*/
type Server = {
url: string;
variables?: {
[k: string]: {
variables?: Record<
string,
{
enum?: string[];
default: string;
};
};
}
>;
};

/**
Expand Down

0 comments on commit 34fc402

Please sign in to comment.