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

enable noImplicitAny #14601

Merged
merged 22 commits into from Jun 21, 2022
Merged

enable noImplicitAny #14601

merged 22 commits into from Jun 21, 2022

Commits on Jun 21, 2022

  1. enable noImplicitAny

    JLHwung committed Jun 21, 2022
    Copy the full SHA
    1ee71c2 View commit details
    Browse the repository at this point in the history
  2. codemod (#14602)

    JLHwung committed Jun 21, 2022
    Copy the full SHA
    65a9523 View commit details
    Browse the repository at this point in the history
  3. Improve preset/plugin-typescript typings (#14603)

    * preset-typescript
    
    * transform-typescript
    
    * Update packages/babel-plugin-transform-typescript/src/enum.ts
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    
    * prettier
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    JLHwung and nicolo-ribaudo committed Jun 21, 2022
    Copy the full SHA
    ee06d12 View commit details
    Browse the repository at this point in the history
  4. Improve transform-runtime typings (#14605)

    * enable noImplicitAny
    
    * codemod (#14602)
    
    * Improve preset/plugin-typescript typings (#14603)
    
    * preset-typescript
    
    * transform-typescript
    
    * Update packages/babel-plugin-transform-typescript/src/enum.ts
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    
    * prettier
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    
    * improve transform-runtime typings
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    JLHwung and nicolo-ribaudo committed Jun 21, 2022
    Copy the full SHA
    0c0741d View commit details
    Browse the repository at this point in the history
  5. jsx (#14607)

    JLHwung committed Jun 21, 2022
    Copy the full SHA
    7623b47 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    000086d View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    88378e2 View commit details
    Browse the repository at this point in the history
  8. Improve @babel/helper-* typings (#14620)

    * improve helper-function-name typings
    
    * helper hoist variables
    
    * helper-member-expression-to-functions
    
    * helper-simple-access
    
    * remap-async-to-generator
    
    * helper-annotate-as-pure
    
    * helper-builder-binary-assignment-operator-visitor
    
    * helper-check-duplicate-nodes
    
    * early return when export declaration is export all
    
    * split-export-declaration
    
    * helper-define-map
    
    * define-map
    
    * Update packages/babel-helper-builder-binary-assignment-operator-visitor/src/index.ts
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    
    * review comments
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    JLHwung and nicolo-ribaudo committed Jun 21, 2022
    Copy the full SHA
    2ea5c45 View commit details
    Browse the repository at this point in the history
  9. improve helper-module-imports typings (#14623)

    * refactor: simplify ImportInjector._applyDefaults
    
    * helper-module-imports
    
    * map globals to the one used in Babel 8
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    a32418b View commit details
    Browse the repository at this point in the history
  10. Improve fixture-test-runner typings (#14625)

    * plugin-test-runner
    
    * fixture-test-runner
    
    * Update packages/babel-helper-fixtures/src/index.ts
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    JLHwung and nicolo-ribaudo committed Jun 21, 2022
    Copy the full SHA
    7456f50 View commit details
    Browse the repository at this point in the history
  11. Improve preset-env typings (#14606)

    * refactor: move shipped-proposals to ts
    
    * preset-env
    
    * address review comments
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    54e2e60 View commit details
    Browse the repository at this point in the history
  12. Improve pipeline-operator typings (#14629)

    * refactor: simplify buildOptimizedSequenceExpression
    
    * proposal-pipeline-operator
    
    * address review comments
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    143bf36 View commit details
    Browse the repository at this point in the history
  13. improve standalone typings (#14630)

    * babel-standalone
    
    * address review comment
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    77e5aea View commit details
    Browse the repository at this point in the history
  14. Improve plugins typings (Part 1) (#14633)

    * change AssumptionFunction return type
    
    * helper-create-regexp-features-plugin
    
    * create-class-features-plugin
    
    * transform-for-of
    
    * improve unicode-escapes typings
    
    * transform-object-super
    
    * transform-react-constant-elements
    
    * proto-to-assign
    
    * function-name
    
    * flow-comments
    
    TS cannot infer Flow visitor type because we have both Flow type and Flow virtual type.
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    23f6343 View commit details
    Browse the repository at this point in the history
  15. Improve code-frame/hightlight typings (#14643)

    * code-frame
    
    * map js-tokens to Babel 8
    
    * highlight
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    ff7fe9a View commit details
    Browse the repository at this point in the history
  16. Improve @babel/types typings (#14645)

    * bump to-fast-properties to v4
    
    * types
    
    * mark node comments as mutable
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    00eaf46 View commit details
    Browse the repository at this point in the history
  17. Improve babel-core typings (#14622)

    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    2 people authored and JLHwung committed Jun 21, 2022
    Copy the full SHA
    93ff5c3 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    951e8e6 View commit details
    Browse the repository at this point in the history
  19. Improve @babel/generator typings (#14644)

    * generator
    
    * refactor: merge {start,end}Terminatorless to printTerminatorless
    
    * inline buildYieldAwait
    
    * inline ExportDeclaration
    
    * also export Pos
    
    * let getPossibleRaw return string | void
    
    * Apply suggestions from code review
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    Co-authored-by: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
    
    * address review comments
    
    * do not export internal printer method
    
    * simplify needsWhitespace
    
    Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    Co-authored-by: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
    3 people committed Jun 21, 2022
    Copy the full SHA
    00d4b75 View commit details
    Browse the repository at this point in the history
  20. Improve plugins typings (Part 2) (#14639)

    * exponentiation-operator
    
    * duplicate-keys
    
    * computed-properties
    
    * replace-supers
    
    * block-scoping
    
    * block-scoped-functions
    
    * syntax-typescript
    
    * record-and-tuple
    
    * private-property-in-object
    
    * partial-application
    
    * json-strings
    
    * function-sent
    
    * function-bind
    
    * class-static-block
    
    * async-generator-functions
    
    * Update packages/babel-plugin-transform-block-scoping/src/index.ts
    
    * address review comments
    
    * helper-replace-supers
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    079b6e3 View commit details
    Browse the repository at this point in the history
  21. Improve plugins typings (Part 3) (#14642)

    * external-helpers
    
    * bugfix
    
    * transform-parameters
    
    * object-rest-spread
    
    * destructuring-private
    
    * transform-destructuring
    
    * proposal-decorators
    
    * optional-chaining
    
    * helper-wrap-function
    
    * explode-assignable-expression
    
    * helper-compilation-targets
    
    * helper-plugin-utils
    
    * helpers
    
    * helper-validator-option
    
    * fix: allow "+" and "-" in MappedType .readonly/.optional
    
    * fixture-test-runner
    
    * remove charcodes from dependencies
    
    the charcodes transform will inline charCodes.* so we can remove it from dependencies
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    e9f2819 View commit details
    Browse the repository at this point in the history
  22. Improve traverse typings (#14648)

    * export removeProperties options
    
    * traverse
    
    * fix other packages typings
    
    * fix gatherNodeParts
    
    * downgrade to-fast-properties to v3
    
    * fix typo
    
    * babel-core/normalize-file
    
    * add ignore comment property used by flow plugin
    
    * refine getLastStatement typings
    
    * fix babel-standalone rebase typing error
    
    * fix assert.rejects polyfill
    
    * simplify _param typings
    
    * supress Babel 7 AST errors
    
    * loosen defineType typings
    
    The AST typings are generated from defineType calls, so defineType should accept a string as type.
    
    * restore legacy code
    
    * Suppress data/core-js-compat importing errors
    JLHwung committed Jun 21, 2022
    Copy the full SHA
    5d923a3 View commit details
    Browse the repository at this point in the history