You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A pending PR in SarkyJS makes some changes to SnarkyJS. If it lands, some changes should be made to the CLI.
Developers not using a constructor on classes that extend CircuitValue will get a TS error on their props:
"Property has no initializer and is not definitely assigned in the constructor".
This can be fixed locally by adding a ! to the prop, e.g. @prop value!: Field. it can also be fixed globally in the project by adding a TS config option.
The text was updated successfully, but these errors were encountered:
ymekuria
changed the title
Update TS config to allow extending CircuitValue class with no custructor
Update TS config to allow extending CircuitValue class with no constructor
Jul 6, 2022
Description
A pending PR in SarkyJS makes some changes to SnarkyJS. If it lands, some changes should be made to the CLI.
Developers not using a constructor on classes that extend CircuitValue will get a TS error on their props:
"Property has no initializer and is not definitely assigned in the constructor"
.This can be fixed locally by adding a ! to the prop, e.g. @prop value!: Field. it can also be fixed globally in the project by adding a TS config option.
The text was updated successfully, but these errors were encountered: