Skip to content

Latest commit

 

History

History
executable file
·
18 lines (14 loc) · 380 Bytes

README.md

File metadata and controls

executable file
·
18 lines (14 loc) · 380 Bytes

Example: ms

Uses: @esmbly/transformer-jsdoc

Summary

This example shows how the ms package can be transformed to TypeScript based on JSDoc comments.

# Input (JavaScript with JSDoc comments)
src/index.js

# Output (TypeScript, AssemblyScript, WebAssembly)
dist/index.ts

Transforming the example

yarn run esmbly run