Skip to content

Commit

Permalink
chore: remove outdated type comment (#5103)
Browse files Browse the repository at this point in the history
  • Loading branch information
senmu-a authored May 6, 2022
1 parent b948454 commit 292ce69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/runtime-core/src/apiCreateApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,8 @@ export function createAppAPI<HostElement>(
`It will be overwritten with the new value.`
)
}
// TypeScript doesn't allow symbols as index type
// https://github.com/Microsoft/TypeScript/issues/24587
context.provides[key as string] = value

context.provides[key as string | symbol] = value

return app
}
Expand Down

0 comments on commit 292ce69

Please sign in to comment.