Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to typescript #6

Merged
merged 12 commits into from
Sep 20, 2019
Merged

Migrate to typescript #6

merged 12 commits into from
Sep 20, 2019

Conversation

kevinptt0323
Copy link
Owner

@kevinptt0323 kevinptt0323 commented Aug 13, 2019

Fix #1.

  • Add typescript-related packages
    • @babel/preset-typescript and typescript to build src
    • ts-node to run unit test
  • Complete types for function parameters and return values
  • Define interfaces like Article, Board, etc.

@kevinptt0323 kevinptt0323 force-pushed the feature/migrate-to-typescript branch from 825711b to f72d46d Compare August 15, 2019 08:12
@kevinptt0323 kevinptt0323 changed the title Migrate to typescript for #1 Migrate to typescript Aug 15, 2019
src/sites/ptt/bot.ts Outdated Show resolved Hide resolved
src/sites/ptt/Article.ts Outdated Show resolved Hide resolved
.babelrc Outdated Show resolved Hide resolved
src/sites/ptt/bot.ts Outdated Show resolved Hide resolved
tsconfig.json Outdated Show resolved Hide resolved
@kevinptt0323 kevinptt0323 force-pushed the feature/migrate-to-typescript branch from 5b1792c to 924e912 Compare September 20, 2019 17:24
@kevinptt0323 kevinptt0323 merged commit 79a85ce into master Sep 20, 2019
@kevinptt0323 kevinptt0323 deleted the feature/migrate-to-typescript branch January 4, 2021 12:24
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.

Migrate to typescript
3 participants