Skip to content

feat: add sequelize-ts-example #109

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

Merged
merged 6 commits into from
Jun 13, 2019
Merged

feat: add sequelize-ts-example #109

merged 6 commits into from
Jun 13, 2019

Conversation

whxaxes
Copy link
Member

@whxaxes whxaxes commented Jun 10, 2019

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

Add egg-sequelize-ts example, deps on: eggjs/egg-sequelize#73

@whxaxes
Copy link
Member Author

whxaxes commented Jun 12, 2019

CI 过了,@atian25 看一下?


import { Controller } from 'egg';

export default class PostController extends Controller {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件没看出 ts 跟 js 有啥差别。。。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对,controller 的写法 ts 跟 js 区别不大

@dead-horse dead-horse merged commit 0730b76 into master Jun 13, 2019
@dead-horse dead-horse deleted the add-sequelize-ts branch June 13, 2019 04:10
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.

4 participants