@devcycle/types
Advanced tools
Comparing version 1.0.52 to 1.0.53
{ | ||
"name": "@devcycle/types", | ||
"version": "1.0.52", | ||
"version": "1.0.53", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
import { VariableType, VariableValue } from './types/config/models'; | ||
import { DVCLogger } from './logger'; | ||
export declare type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never; | ||
export declare const getVariableTypeFromValue: (value: VariableValue, key: string, logger: DVCLogger, shouldThrow?: boolean) => VariableType | null; | ||
export declare function getVariableTypeFromValue(value: VariableValue, key: string, logger: DVCLogger, shouldThrow?: false): VariableType | null; | ||
export declare function getVariableTypeFromValue(value: VariableValue, key: string, logger: DVCLogger, shouldThrow: true): VariableType; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
194765
4946
2