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

fix: typescript definition of router.push #400

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

concefly
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Apr 27, 2018

Pull Request Test Coverage Report for Build 268

  • 0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 4.635%

Totals Coverage Status
Change from base Build 264: 0.0%
Covered Lines: 80
Relevant Lines: 1759

💛 - Coveralls

@sorrycc sorrycc merged commit 9eb9747 into umijs:master Apr 27, 2018
@sorrycc sorrycc changed the title feat: 给 router.push 的 RouteData 加上 search、state 类型 fix: typescript definition of router.push Apr 27, 2018
sorrycc added a commit that referenced this pull request Jun 23, 2022
* feat(api-route): Add examples API routes to examples/boilerplate

* feat(api-route): Add type declarations of API routes feature

* feat(api-route): Add example API route middleware in example/boilerplate

* feat(api-route): Generate tmpFiles of API routes on `umi build`

* feat(api-route): Move api directory to "src/api" instead of "src/pages/api"

* feat(api-route): Fix CI failed due to new example without update lock file

* feat(api-route): Bundle generated files into final result for Vercel serverless function

* feat(api-route): Change api route bundle output dir to ".output/server/pages/api"

* feat(api-route): Add UmiApiRequest and UmiApiResponse

* feat(api-route): Remove dynamic route from api-route-demo since it is not support currently

* feat(api-route): Update gitignore path from "examples/*/api" to "examples/*/.output"

* feat(api-route): Encapsulate api-route into a feature of preset-umi and add configuration

* feat(api-route): "Import type instead of just import

Co-authored-by: Yingci <[email protected]>

* feat(api-route): Use English in warning messages

* feat(api-route): Improve path expressions

* feat(api-route): Move config checking into api.describe.enableBy

* feat(api-route): Add API route adapter for Umi Dev Server (`umi dev`)

* feat(api-route): Add esbuild plugin to ignore path prefix "@fs"

* feat(api-route): Fix CI failed due to lock file problem

* feat(api-route): Fix CI failed due to lock file problem

* feat(api-route): Fix CI failed due to lock file problem

* feat(api-route): Fix build failed due to recursive import

* feat(api-route): Fix API route match problem with trailing slash

* feat(api-route): Watch API route file changes in dev mode

* feat(api-route): Add some API route example usages

* feat(api-route): Remove unused function in bundler-esbuild

Co-authored-by: Yingci <[email protected]>
Co-authored-by: chencheng (云谦) <[email protected]>
xierenyuan pushed a commit to xierenyuan/umi that referenced this pull request Jun 23, 2022
* feat(api-route): Add examples API routes to examples/boilerplate

* feat(api-route): Add type declarations of API routes feature

* feat(api-route): Add example API route middleware in example/boilerplate

* feat(api-route): Generate tmpFiles of API routes on `umi build`

* feat(api-route): Move api directory to "src/api" instead of "src/pages/api"

* feat(api-route): Fix CI failed due to new example without update lock file

* feat(api-route): Bundle generated files into final result for Vercel serverless function

* feat(api-route): Change api route bundle output dir to ".output/server/pages/api"

* feat(api-route): Add UmiApiRequest and UmiApiResponse

* feat(api-route): Remove dynamic route from api-route-demo since it is not support currently

* feat(api-route): Update gitignore path from "examples/*/api" to "examples/*/.output"

* feat(api-route): Encapsulate api-route into a feature of preset-umi and add configuration

* feat(api-route): "Import type instead of just import

Co-authored-by: Yingci <[email protected]>

* feat(api-route): Use English in warning messages

* feat(api-route): Improve path expressions

* feat(api-route): Move config checking into api.describe.enableBy

* feat(api-route): Add API route adapter for Umi Dev Server (`umi dev`)

* feat(api-route): Add esbuild plugin to ignore path prefix "@fs"

* feat(api-route): Fix CI failed due to lock file problem

* feat(api-route): Fix CI failed due to lock file problem

* feat(api-route): Fix CI failed due to lock file problem

* feat(api-route): Fix build failed due to recursive import

* feat(api-route): Fix API route match problem with trailing slash

* feat(api-route): Watch API route file changes in dev mode

* feat(api-route): Add some API route example usages

* feat(api-route): Remove unused function in bundler-esbuild

Co-authored-by: Yingci <[email protected]>
Co-authored-by: chencheng (云谦) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants