Skip to content

Commit

Permalink
refactor(lambda): use lowercase boolean for type declarations (#27082)
Browse files Browse the repository at this point in the history
Updated the type annotations to use the primitive `boolean` type instead of the object wrapper `Boolean`. 
This change aligns with TypeScript's recommended naming conventions and provides clearer type indications.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
yodeee9 authored Sep 9, 2023
1 parent f27f456 commit dd93b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-lambda/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export class Runtime {
/**
* Enabled for runtime enums that always target the latest available.
*/
public readonly isVariable: Boolean;
public readonly isVariable: boolean;

constructor(name: string, family?: RuntimeFamily, props: LambdaRuntimeProps = {}) {
this.name = name;
Expand Down

0 comments on commit dd93b9e

Please sign in to comment.