Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core-base/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface CoreError extends CompileError {
}

let code = CompileErrorCodes.__EXTEND_POINT__
const inc = () => code++
const inc = () => ++code

export const CoreErrorCodes = {
INVALID_ARGUMENT: code, // 15
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n-core/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface I18nError extends CompileError {
}

let code = CompileErrorCodes.__EXTEND_POINT__
const inc = () => code++
const inc = () => ++code

export const I18nErrorCodes = {
// composer module errors
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n-core/src/warnings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { format } from '@intlify/shared'
import { CoreWarnCodes } from '@intlify/core-base'

let code = CoreWarnCodes.__EXTEND_POINT__
const inc = () => code++
const inc = () => ++code

export const I18nWarnCodes = {
FALLBACK_TO_ROOT: code, // 7
Expand Down