Socket
Socket
Sign inDemoInstall

typescript-strictly-typed

Package Overview
Dependencies
12
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    typescript-strictly-typed

Enable configurations for strictly typed TypeScript, ESLint, and optionally Angular.


Version published
Weekly downloads
559
increased by22.86%
Maintainers
1
Install size
975 kB
Created
Weekly downloads
 

Changelog

Source

3.0.6 (2023-03-17)

  • Requires Node >= 16
  • Only add forceConsistentCasingInFileNames in TypeScript <= 4.9, as it is now true by default in TypeScript >= 5.0.
  • Add back exactOptionalPropertyTypes. It is reliable for your own code. Issues are only because of some libraries, so if a library is not correct regarding this check, report it to the lib repo, and temporarily add skipLibCheck to your tsconfig.json.
  • Add back noUncheckedIndexedAccess if TypeScript >= 5.0. It was reverted because the compiler is not smart enough in some cases. First case was dynamic objects (Record or { [key: string]: string }): but now TypeScript >= 5.0 infers correctly if you check before (if ('someProperty' in someObject)). Second case is still there and is when accessing directly a speficic array value (myArray[2]) but those cases mainly happen because of old JavaScript syntaxes, there are easily avoided with modern syntaxes (like for...of, ?., ??).

Readme

Source

TypeScript Strictly Typed

The documentation is available on GitHub.

FAQs

Last updated on 17 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc