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 tests to pass for new TypeScript definitions #2671

Closed
wants to merge 10 commits into from

Commits on Apr 25, 2017

  1. Configuration menu
    Copy the full SHA
    103b614 View commit details
    Browse the repository at this point in the history
  2. throw if getState, subscribe, or unsubscribe called while dispatching (

    …reduxjs#1569)
    
    * throw error if getState, subscribe, or unsubscribe called while dispatching
    
    * prevent throwing if not subscribed
    
    * update getState error message
    
    * fix space after period
    
    * update subscribe/unsubscribe error messages
    mwilc0x authored and timdorr committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    cad6231 View commit details
    Browse the repository at this point in the history
  3. Warn When dispatching During Middleware Setup (reduxjs#1485)

    * Add a doc section on dispatching during middleware setup.
    
    * Warn when dispatching during middleware setup.
    
    * Upgrade the warning to an error.
    
    * Update docs to match thrown error behavior.
    timdorr committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    5c60ef7 View commit details
    Browse the repository at this point in the history
  4. Mapped type for combineReducers in index.d.ts (reduxjs#2182)

    * Add mapped type for combineReducers in index.d.ts
    
    Updated typescript to 2.1.4
    Updated typescript-definition-tester to 0.0.5
    Updated typescript tests to use proper import
    Added mapped type to index.d.ts
    
    * add strict null check for reducer
    
    Updated Reducer<S> type in index.d.ts
    Add strictNullChecks flag to typescript spec
    mkusher authored and timdorr committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    8033325 View commit details
    Browse the repository at this point in the history
  5. Deletes no-longer-valid applyMiddleware test.

    Behavior has been replaced with the "it warns when dispatching during middleware setup" test in the 'next' branch.
    jimbolla authored and timdorr committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    112a100 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4acb40c View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. Revamp TypeScript typing with more type safety (reduxjs#2563)

    * Revamp TypeScript typing with more type safety
    
    * Provide a default action type for combineReducers
    
    * Change state default types to any
    
    * Don't parameterize Dispatch with a state type
    
    * Remove docstring about excised type parameter
    pelotom authored and timdorr committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    7bea62a View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2017

  1. Configuration menu
    Copy the full SHA
    1e9529b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9278d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7087186 View commit details
    Browse the repository at this point in the history