docs2 icon indicating copy to clipboard operation
docs2 copied to clipboard

List of common pitfalls for TypeScript developers

Open garwalsh opened this issue 1 year ago • 0 comments

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

garwalsh avatar Dec 12 '23 20:12 garwalsh