apibuilder-js
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -40,2 +40,2 @@ import { ApiBuilderArray, ApiBuilderEnclosingType, ApiBuilderEnum, ApiBuilderMap, ApiBuilderModel, ApiBuilderPrimitiveType, ApiBuilderType, ApiBuilderUnion } from './definition'; | ||
*/ | ||
export declare function getBaseType(type: ApiBuilderType): ApiBuilderType; | ||
export declare function getBaseType(type: ApiBuilderType): Exclude<ApiBuilderType, ApiBuilderEnclosingType>; |
{ | ||
"name": "apibuilder-js", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "A reference implementation of API Builder for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -84,3 +84,3 @@ import { | ||
*/ | ||
export function getBaseType(type: ApiBuilderType): ApiBuilderType { | ||
export function getBaseType(type: ApiBuilderType): Exclude<ApiBuilderType, ApiBuilderEnclosingType> { | ||
if (isEnclosingType(type)) { | ||
@@ -87,0 +87,0 @@ return getBaseType(type.ofType); |
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
290203
52
9436