Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typescript-optional

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-optional - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "typescript-optional",
"version": "1.2.0",
"version": "1.2.1",
"description": "Optional (like Java) implementation in TypeScript",

@@ -5,0 +5,0 @@ "repository": {

@@ -12,6 +12,6 @@ # TypeScript Optional

`Optional<T>` is a type which *may* contain a *payload* of type `T` or *may not* contain.
It provides the common interface regardless of an instance is *present* or is *empty*.
`Optional<T>` is a type which *may* or *may not* contain a *payload* of type `T`.
It provides a common interface regardless of whether an instance is *present* or is *empty*.
This module reffers to [Optional class in Java 8](https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html).
This module is inspired by [Optional class in Java 8](https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html).

@@ -18,0 +18,0 @@ ### Install

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc