-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: added noImplicitOverride option to config (#3384)
* chore(packages): added noImplicitOverride option to config * chore(packages): added missed modifiers in BN class * chore(packages): added missed modifiers * chore(packages): added missed modifiers * chore(packages): fix changeset file * Update .changeset/strange-starfishes-raise.md Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk> * Update packages/abi-coder/src/encoding/coders/EnumCoder.ts Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk> * Update packages/abi-coder/src/encoding/coders/StructCoder.ts Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk> * Update packages/abi-coder/src/encoding/coders/OptionCoder.ts Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk> * Update packages/abi-coder/src/encoding/coders/OptionCoder.ts Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk> * chore: added noImplicitOverride option to config * Delete .changeset/strange-starfishes-raise.md --------- Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk>
- Loading branch information
1 parent
537fdc2
commit c904a98
Showing
34 changed files
with
148 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@fuel-ts/abi-typegen": patch | ||
"@fuel-ts/abi-coder": patch | ||
"@fuel-ts/account": patch | ||
"@fuel-ts/address": patch | ||
"@fuel-ts/program": patch | ||
"@fuel-ts/script": patch | ||
"@fuel-ts/math": patch | ||
--- | ||
|
||
chore: added noImplicitOverride option to config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { B256Type } from './B256Type'; | ||
|
||
export class AssetIdType extends B256Type { | ||
public static swayType = 'struct AssetId'; | ||
public static override swayType = 'struct AssetId'; | ||
|
||
public name = 'AssetId'; | ||
public override name = 'AssetId'; | ||
|
||
static MATCH_REGEX = /^struct AssetId$/m; | ||
static override MATCH_REGEX = /^struct AssetId$/m; | ||
|
||
static isSuitableFor(params: { type: string }) { | ||
static override isSuitableFor(params: { type: string }) { | ||
return AssetIdType.MATCH_REGEX.test(params.type); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { StrType } from './StrType'; | ||
|
||
export class B256Type extends StrType { | ||
public static swayType = 'b256'; | ||
public static override swayType = 'b256'; | ||
|
||
public name = 'b256'; | ||
public override name = 'b256'; | ||
|
||
static MATCH_REGEX = /^b256$/m; | ||
static override MATCH_REGEX = /^b256$/m; | ||
|
||
static isSuitableFor(params: { type: string }) { | ||
static override isSuitableFor(params: { type: string }) { | ||
return B256Type.MATCH_REGEX.test(params.type); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { B256Type } from './B256Type'; | ||
|
||
export class B512Type extends B256Type { | ||
public static swayType = 'struct B512'; | ||
public static override swayType = 'struct B512'; | ||
|
||
public name = 'b512'; | ||
public override name = 'b512'; | ||
|
||
static MATCH_REGEX = /^struct (std::b512::)?B512$/m; | ||
static override MATCH_REGEX = /^struct (std::b512::)?B512$/m; | ||
|
||
static isSuitableFor(params: { type: string }) { | ||
static override isSuitableFor(params: { type: string }) { | ||
return B512Type.MATCH_REGEX.test(params.type); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.