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

Improved typings compatibility #371

Merged

Commits on Dec 6, 2019

  1. use typescript 3.6.x for backwards compatibility w.r.t. to "ambient a…

    …ccessors"
    
    typescript v3.7.x creates non-backwards compatible typings for property definitions:
    attempts to use v3.7.x typings with an earlier typescript version will result in `error TS1086: An accessor cannot be declared in an ambient context.`
    russaa committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    41213e0 View commit details
    Browse the repository at this point in the history
  2. improve compatibility for typings w.r.t. AsyncIterator

    make typing compatible with esnext lib, instead of only es2018 lib, by omitting 2nd generics parameter
    
    NOTE this changes the TReturn type from undefined to any for es2018, i.e. less restrictive typing
    russaa committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    c6bce4b View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2019

  1. Configuration menu
    Copy the full SHA
    87dbf05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    639740a View commit details
    Browse the repository at this point in the history
  3. use github:web-streams-polyfill/build/downlevel-dts for creating back…

    …wards compatible typings
    russaa committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    cc0f475 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Configuration menu
    Copy the full SHA
    3c7c638 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. reverted hardcoded downgrading for AsyncIterator and improved downlev…

    …el-dts.js script instead
    russaa committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    d761f5f View commit details
    Browse the repository at this point in the history
  2. added tests for tsc version typings compatibility

    added tests for ensuring typings compatibility by creating temporary projects & installing tsc version and compiling (modified) ts source specified in test/unit/typings-test.ts
    russaa committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    54a424e View commit details
    Browse the repository at this point in the history
  3. renamed typings test & dir

    russaa committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    1eaa161 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    28bf175 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Configuration menu
    Copy the full SHA
    ef9c9e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a7c3ef View commit details
    Browse the repository at this point in the history
  3. changed minimal target/lib requirements for typings compatibility tes…

    …t for typescript versions 3.2.x - 3.4.x
    russaa committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    ba01930 View commit details
    Browse the repository at this point in the history
  4. fix formatting

    russaa committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    b820f84 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. Configuration menu
    Copy the full SHA
    8b6965c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4874024 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2021ad7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6c0637 View commit details
    Browse the repository at this point in the history
  5. FIX formatting

    russaa committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    54f65c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a44b4e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ddb4c14 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Configuration menu
    Copy the full SHA
    32479c9 View commit details
    Browse the repository at this point in the history