docs2
docs2 copied to clipboard
List of common pitfalls for TypeScript developers
We have received a lot of feedback regarding the fact that an over familiarity with TypeScript can lead developers into common pitfalls due their expectation of o1js to function like vanilla typescript.
This issue tracks the creation of a list of those pitfalls to educate developers about the differences in behavious between o1js and vanilla typescript.
Examples: Mina does not do stuff you expect from typescript:
- Union types of provable items produce non-intuitive errors
- Abstract classes that you derive provable types from produce non-intuitive errors
- General type errors