Skip to content

Commit 2f39182

Browse files
committed
fix(runtime-core): remove dynamic export on ErrorTypeStrings
1 parent 1bebe84 commit 2f39182

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/runtime-core/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,11 @@ export {
155155
} from './components/BaseTransition'
156156
export { initCustomFormatter } from './customFormatter'
157157

158-
import { ErrorTypeStrings as _ErrorTypeStrings } from './errorHandling'
159158
/**
160159
* Runtime error messages. Only exposed in dev or esm builds.
161160
* @internal
162161
*/
163-
export const ErrorTypeStrings = (
164-
__ESM_BUNDLER__ || __CJS__ || __DEV__ ? _ErrorTypeStrings : null
165-
) as typeof _ErrorTypeStrings
162+
export { ErrorTypeStrings } from './errorHandling'
166163

167164
// For devtools
168165
import {

0 commit comments

Comments
 (0)