Skip to content

Commit

Permalink
Assert to typescript that we know better.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Aug 21, 2024
1 parent 7e4dd5d commit 1de341e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("Imperative should provide advanced syntax validation rules", () => {
const logger = TestLogger.getTestLogger();
const aliases: Record<string, string[]> = {};
// We define ValidationTestCommand. Options is always defined.
for (const option of ValidationTestCommand.options) {
for (const option of ValidationTestCommand.options!) {
if (option.aliases) {
aliases[option.name] = option.aliases;
}
Expand Down

0 comments on commit 1de341e

Please sign in to comment.