Commit Graph

2 Commits

Author SHA1 Message Date
Boris Verkhovskiy
3e687f1a8c Remove leading and trailing empty lines in code blocks 2024-04-06 08:33:50 -07:00
Steve Huguenin
a57c72103d
[assemblyscript/en] Learn AssemblyScript in Y minutes (#4209)
* Learn AssemblyScript in Y minutes

AssemblyScript is based on TypeScript, therefore the tutorial is based on Learn Typescript in Y minutes

* Fixes for compliancy to contrib.md and Quick fix

80 characters line limit
Also return type for function

* Solve suggested changes

Changes were suggested by @SebastianSpeitel

* Adding examples on Array Type inference

As suggested by Max Graey

* Derived class use the extends keyword

Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

* Fix alert conventional signature

Co-authored-by: Max Graey <maxgraey@gmail.com>

* Removed Type Assertion

Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

* Fix dangling interfaces and namespace uses

Co-authored-by: Max Graey <maxgraey@gmail.com>
Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

* Export functions, classes and namespaces

AssemblyScript doesn't tell about errors in a non exported body

Co-authored-by: Max Graey <maxgraey@gmail.com>
Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>

---------

Co-authored-by: Sebastian Speitel <sebastian.speitel@outlook.de>
Co-authored-by: Max Graey <maxgraey@gmail.com>
2024-01-11 09:32:53 +01:00