Skip to content

Commit

Permalink
Follow Typescript best practices [1].
Browse files Browse the repository at this point in the history
  • Loading branch information
v-au committed Sep 18, 2024
1 parent 855e804 commit 2c29b25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typescript/rds/mysql/mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ export class Mysql extends Stack {
super(scope, id);

// default database username
var mysqlUsername = "dbadmin";
let mysqlUsername = "dbadmin";
if (typeof props.mysqlUsername !== 'undefined') {
mysqlUsername = props.mysqlUsername;
}
var ingressSources = [];
let ingressSources = [];
if (typeof props.ingressSources !== 'undefined') {
ingressSources = props.ingressSources;
}
var engineVersion = rds.MysqlEngineVersion.VER_8_0_28;
let engineVersion = rds.MysqlEngineVersion.VER_8_0_28;
if (typeof props.engineVersion !== 'undefined') {
engineVersion = props.engineVersion;
}
Expand Down

0 comments on commit 2c29b25

Please sign in to comment.