Skip to content

Commit 96c6e01

Browse files
committed
fix comment of useShortHandCtor
1 parent 04afcb8 commit 96c6e01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ts-codegen/src/builder/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export type TSBuilderOptions = {
5656
bundle?: BundleOptions;
5757
/**
5858
* Enable using shorthand constructor.
59-
* Default: false
59+
* Default: true
6060
*/
6161
useShorthandCtor?: boolean;
6262
useContractsHooks?: UseContractsOptions;

packages/ts-codegen/types/src/builder/builder.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export declare type TSBuilderOptions = {
1919
bundle?: BundleOptions;
2020
/**
2121
* Enable using shorthand constructor.
22-
* Default: false
22+
* Default: true
2323
*/
2424
useShorthandCtor?: boolean;
2525
useContractsHooks?: UseContractsOptions;

0 commit comments

Comments
 (0)