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

feat(d.ts): add property of EggAppConfig.development #2561

Merged
merged 1 commit into from
May 16, 2018
Merged

feat(d.ts): add property of EggAppConfig.development #2561

merged 1 commit into from
May 16, 2018

Conversation

sinalvee
Copy link
Contributor

reloadOnDebug - whether reload on debug, default is true.
overrideDefault - whether override default watchDirs, default is false.
reloadPattern - whether to reload, use https://github.com/sindresorhus/multimatch

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

reloadOnDebug - whether reload on debug, default is true.
overrideDefault - whether override default watchDirs, default is false.
reloadPattern - whether to reload, use https://github.com/sindresorhus/multimatch
@atian25 atian25 requested a review from whxaxes May 15, 2018 10:11
@atian25
Copy link
Member

atian25 commented May 15, 2018

@whxaxes should we just push these to egg-development 's d.ts and import to egg

@codecov
Copy link

codecov bot commented May 15, 2018

Codecov Report

Merging #2561 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2561   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files          29       29           
  Lines         815      815           
=======================================
  Hits          812      812           
  Misses          3        3

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7696a7...1657c57. Read the comment docs.

@whxaxes
Copy link
Member

whxaxes commented May 15, 2018

@atian25 Of course it's better to import from egg-development

@atian25
Copy link
Member

atian25 commented May 15, 2018

so do it now ?

@whxaxes
Copy link
Member

whxaxes commented May 16, 2018

Egg has already import egg-development( https://github.com/eggjs/egg/blob/master/index.d.ts#L13 ), so we can merged this PR first, and then commit a PR to egg-development, finally remove types in egg while egg-development has published.

@dead-horse dead-horse merged commit 8b7c8bd into eggjs:master May 16, 2018
popomore pushed a commit that referenced this pull request May 16, 2018
 docs(d.ts): add property of EggAppConfig.development (#2561)

reloadOnDebug - whether reload on debug, default is true.
overrideDefault - whether override default watchDirs, default is false.
reloadPattern - whether to reload, use https://github.com/sindresorhus/multimatch
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