Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
selfcontained committed Nov 7, 2023
1 parent d279b8f commit a6311e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/gitpod-protocol/src/public-api-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export class PublicAPIConverter {
return result;
}

toPrebuildSettings(prebuilds: PrebuildSettingsProtocol | undefined): PrebuildSettings {
toPrebuildSettings(prebuilds?: PrebuildSettingsProtocol): PrebuildSettings {
const result = new PrebuildSettings();
if (prebuilds) {
result.enabled = prebuilds.enable;
Expand All @@ -422,7 +422,7 @@ export class PublicAPIConverter {
return undefined;
}

toWorkspaceSettings(workspaceClass: string | undefined): WorkspaceSettings {
toWorkspaceSettings(workspaceClass?: string): WorkspaceSettings {
const result = new WorkspaceSettings();
if (workspaceClass) {
result.workspaceClass = workspaceClass;
Expand Down

0 comments on commit a6311e4

Please sign in to comment.