@vue/composition-api
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0-beta.5
@@ -0,1 +1,6 @@ | ||
<a name="1.0.0-beta.5"></a> | ||
# [1.0.0-beta.5](https://github.com/vuejs/composition-api/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2020-07-20) | ||
<a name="1.0.0-beta.4"></a> | ||
@@ -2,0 +7,0 @@ # [1.0.0-beta.4](https://github.com/vuejs/composition-api/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2020-07-18) |
@@ -36,3 +36,3 @@ import Vue$1, { VueConstructor, ComponentOptions, VNode, CreateElement } from 'vue'; | ||
declare type OptionalKeys<T, MakeDefaultRequired> = Exclude<keyof T, RequiredKeys<T, MakeDefaultRequired>>; | ||
declare type ExtractFunctionPropType<T extends Function, TArgs extends Array<any> = any[], TResult = any> = T extends (...args: TArgs) => TResult ? T : any; | ||
declare type ExtractFunctionPropType<T extends Function, TArgs extends Array<any> = any[], TResult = any> = T extends (...args: TArgs) => TResult ? T : never; | ||
declare type ExtractCorrectPropType<T> = T extends Function ? ExtractFunctionPropType<T> : Exclude<T, Function>; | ||
@@ -47,3 +47,3 @@ declare type InferPropType<T> = T extends null ? any : T extends { | ||
type: BooleanConstructor; | ||
} ? boolean : T extends Prop<infer V> ? ExtractCorrectPropType<V> : T; | ||
} ? boolean : T extends FunctionConstructor ? Function : T extends Prop<infer V> ? ExtractCorrectPropType<V> : T; | ||
declare type ExtractPropTypes<O, MakeDefaultRequired extends boolean = true> = O extends object ? { | ||
@@ -50,0 +50,0 @@ [K in RequiredKeys<O, MakeDefaultRequired>]: InferPropType<O[K]>; |
{ | ||
"name": "@vue/composition-api", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.5", | ||
"description": "Provide logic composition capabilities for Vue.", | ||
@@ -38,6 +38,4 @@ "keywords": [ | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"prepublish": "yarn test", | ||
"postpublish": "yarn release-gh", | ||
"version": "yarn changelog && yarn update-readme && git add CHANGELOG.md README.*", | ||
"release": "yarn version && git push --follow-tags && yarn publish --non-interactive", | ||
"release": "yarn test && npx bumpp --tag --commit --push && yarn publish --non-interactive && yarn release-gh", | ||
"release-gh": "conventional-github-releaser -p angular" | ||
@@ -44,0 +42,0 @@ }, |
@@ -43,3 +43,3 @@ # @vue/composition-api | ||
<script src="https://cdn.jsdelivr.net/npm/vue@2.6"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.4"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.5"></script> | ||
``` | ||
@@ -46,0 +46,0 @@ <!--cdn-links-end--> |
@@ -45,3 +45,3 @@ # @vue/composition-api | ||
<script src="https://cdn.jsdelivr.net/npm/vue@2.6"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.4"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.5"></script> | ||
``` | ||
@@ -48,0 +48,0 @@ <!--cdn-links-end--> |
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
224063