Skip to content

Commit 292ce69

Browse files
authored
chore: remove outdated type comment (#5103)
1 parent b948454 commit 292ce69

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/runtime-core/src/apiCreateApp.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,8 @@ export function createAppAPI<HostElement>(
345345
`It will be overwritten with the new value.`
346346
)
347347
}
348-
// TypeScript doesn't allow symbols as index type
349-
// https://github.com/Microsoft/TypeScript/issues/24587
350-
context.provides[key as string] = value
348+
349+
context.provides[key as string | symbol] = value
351350

352351
return app
353352
}

0 commit comments

Comments
 (0)