From d2627939ecaa13db1bb3fcac99ed6f15f8aab3fb Mon Sep 17 00:00:00 2001 From: Petyo Ivanov Date: Sat, 30 Nov 2024 16:15:20 +0200 Subject: [PATCH] fix: add missing alias --- biome.jsonc | 4 ++-- src/realm.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/biome.jsonc b/biome.jsonc index a8b884c..91c5511 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -1,9 +1,9 @@ { "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "vcs": { - "enabled": false, + "enabled": true, "clientKind": "git", - "useIgnoreFile": false + "useIgnoreFile": true }, "files": { "include": ["src/**/*.ts", "src/**/*.tsx", "vite.config.ts", "vitest.workspace.ts"], diff --git a/src/realm.ts b/src/realm.ts index 9691614..ad9cc5c 100644 --- a/src/realm.ts +++ b/src/realm.ts @@ -1367,3 +1367,9 @@ export const pipe: Realm['pipe'] = (...args: unknown[]) => { export const changeWith: Realm['changeWith'] = (...args) => { getCurrentRealm().changeWith(...args) } + +// @ts-expect-error - this is fine +export const combine: Realm['combine'] = (...args: unknown[]) => { + // @ts-expect-error - this is fine + return getCurrentRealm().combine(...args) +}