Skip to content

Commit

Permalink
props is actually mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
pomykaczi committed Apr 10, 2024
1 parent 658ad8c commit c44dfca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Steps required to define a _environmental_ project resources; At first, it might
import { SmartStack, Name, UrlName, PathName, EC } from '@alma-cdk/project';
export class MyStack extends SmartStack {
constructor(scope: Construct, id: string, props?: StackProps) {
constructor(scope: Construct, id: string, props: StackProps) {
super(scope, id, props);
new dynamodb.Table(this, 'Table', {
Expand Down

0 comments on commit c44dfca

Please sign in to comment.