Skip to content

Commit

Permalink
feat(types): drop TypeScript < 4.1 (sequelize#13954)
Browse files Browse the repository at this point in the history
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
  • Loading branch information
2 people authored and aliatsis committed Jun 2, 2022
1 parent 2c06f17 commit 099c7e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ts-version: ["3.9", "4.0", "4.1", "4.2", "4.3", "4.4", "4.5"]
ts-version: ["4.1", "4.2", "4.3", "4.4", "4.5"]
name: TS Typings (${{ matrix.ts-version }})
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 4 additions & 1 deletion docs/manual/other-topics/typescript.md
@@ -1,6 +1,9 @@
# TypeScript

Since v5, Sequelize provides its own TypeScript definitions. Please note that only TS >= 3.1 is supported.
Sequelize provides its own TypeScript definitions.

Please note that only **TypeScript >= 4.1** is supported.
Our TypeScript support does not follow SemVer. We will support TypeScript releases for at least one year, after which they may be dropped in a SemVer MINOR release.

As Sequelize heavily relies on runtime property assignments, TypeScript won't be very useful out of the box. A decent amount of manual type declarations are needed to make models workable.

Expand Down

0 comments on commit 099c7e0

Please sign in to comment.