Skip to content

Comments

Migrate from JavaScript to TypeScript (#2)#20

Open
mabahamo wants to merge 2 commits intomeshcore-dev:masterfrom
mabahamo:master
Open

Migrate from JavaScript to TypeScript (#2)#20
mabahamo wants to merge 2 commits intomeshcore-dev:masterfrom
mabahamo:master

Conversation

@mabahamo
Copy link

Migrate from JavaScript to TypeScript

Convert all 16 source files from .js to .ts with type annotations.

* Migrate from JavaScript to TypeScript

Convert all 16 source files from .js to .ts with full type annotations.
Add types.ts with interfaces for all data structures. Export BufferReader
and BufferWriter from index. Use 'as const' for literal types on constants.

* Switch from pnpm to npm

* Remove unused EpochSeconds type
@mabahamo
Copy link
Author

for context: #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant