Skip to content

Conversation

@Gavin-Gong
Copy link
Contributor

api-extractor 7.12.1 reports some warnings as following image
image

upgrade to 7.15.1 can fix it. api-extractor 7.12.1 depend on typescript 4.1.5, but vue-next and api-extractor 7.15.1 depend on typescript 4.2.*

there are some breaking changes, typescript 4.1.5 lib.es2015.reflect.d.ts vs. typescript 4.2.4 lib.es2015.reflect.d.ts
image

maybe another solution, remove ownKeys return-type

-  function ownKeys(target: object): (string | symbol)[] {
+ function ownKeys(target: object) {
  track(target, TrackOpTypes.ITERATE, isArray(target) ? 'length' : ITERATE_KEY)
  return Reflect.ownKeys(target)
}

@yyx990803 yyx990803 merged commit f3d3036 into vuejs:master May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants