@grammyjs/types
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,3 +6,3 @@ /** Creates the maximum neighborhood of a type T */ | ||
/** Creates a closed type for a given type T based on its neighborhood N */ | ||
type CloseElement<T, N extends string> = T & Boundary<T, N>; | ||
type CloseElement<T, N extends string> = T & Partial<Boundary<T, N>>; | ||
/** Creates a closed type for each element of a given union type U based on the neighborhood N */ | ||
@@ -9,0 +9,0 @@ type CloseAll<U, N extends string> = U extends unknown |
{ | ||
"name": "@grammyjs/types", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Telegram Bot API type declarations for grammY", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210475