Skip to content

Commit b21953a

Browse files
committed
chore: wip
1 parent 6003aec commit b21953a

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.stacks/auto-imports.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ declare module 'vue' {
4848
readonly app: UnwrapRef<typeof import('../config/app')['default']>
4949
readonly appPath: UnwrapRef<typeof import('./core/path/src/index')['appPath']>
5050
readonly arraysPath: UnwrapRef<typeof import('./core/path/src/index')['arraysPath']>
51-
readonly assert: UnwrapRef<typeof import('./core/utils/src/base')['assert']>
51+
readonly assert: UnwrapRef<typeof import('vitest')['assert']>
5252
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
5353
readonly at: UnwrapRef<typeof import('./core/arrays/src/index')['at']>
5454
readonly auth: UnwrapRef<typeof import('./core/auth/src/index')['auth']>
@@ -799,7 +799,7 @@ declare module 'vue' {
799799
const app: typeof import('../config/app')['default']
800800
const appPath: typeof import('./core/path/src/index')['appPath']
801801
const arraysPath: typeof import('./core/path/src/index')['arraysPath']
802-
const assert: typeof import('./core/utils/src/base')['assert']
802+
const assert: typeof import('vitest')['assert']
803803
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
804804
const at: typeof import('./core/arrays/src/index')['at']
805805
const auth: typeof import('./core/auth/src/index')['auth']
@@ -1559,7 +1559,7 @@ declare module 'vue' {
15591559
readonly app: UnwrapRef<typeof import('../config/app')['default']>
15601560
readonly appPath: UnwrapRef<typeof import('./core/path/src/index')['appPath']>
15611561
readonly arraysPath: UnwrapRef<typeof import('./core/path/src/index')['arraysPath']>
1562-
readonly assert: UnwrapRef<typeof import('./core/utils/src/base')['assert']>
1562+
readonly assert: UnwrapRef<typeof import('vitest')['assert']>
15631563
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
15641564
readonly at: UnwrapRef<typeof import('./core/arrays/src/index')['at']>
15651565
readonly auth: UnwrapRef<typeof import('./core/auth/src/index')['auth']>

.stacks/core/utils/src/base.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
export function assert(condition: boolean, message: string): asserts condition {
2-
if (!condition)
3-
throw new Error(message)
4-
}
1+
// imported through vitest already
2+
// export function assert(condition: boolean, message: string): asserts condition {
3+
// if (!condition)
4+
// throw new Error(message)
5+
// }
56

67
export function toString(v: any) {
78
return Object.prototype.toString.call(v)

.stacks/core/utils/src/currency.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ export {
77
greaterThan,
88
greaterThanOrEqual,
99
hasSubUnits,
10-
isNegative,
11-
isPositive,
1210
isZero,
1311
lessThan,
1412
lessThanOrEqual,

0 commit comments

Comments
 (0)