Skip to content

Commit dd93b9e

Browse files
authored
refactor(lambda): use lowercase boolean for type declarations (#27082)
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*
1 parent f27f456 commit dd93b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-lambda/lib/runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export class Runtime {
304304
/**
305305
* Enabled for runtime enums that always target the latest available.
306306
*/
307-
public readonly isVariable: Boolean;
307+
public readonly isVariable: boolean;
308308

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

0 commit comments

Comments
 (0)