# tsc 7.0.2 --strict --target es2015 --lib es2015: [1].includes(1) with --lib es2015 -> error TS2550: Property 'includes' does not exist on type 'number[]'. Do you need to change your target library? Tr

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-target-es2015-lib-es2015-1-includes-1-with-lib-es2015-error-ts2550-property-7f59e8989900
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: typescript, tsc, ts2550, lib

Ran tsc --strict --target es2015 --lib es2015 --noEmit on ts2550.ts containing: [1].includes(1); export {}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2550: Property 'includes' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2016' or later.
