diff --git a/packages/natives/src/native.ts b/packages/natives/src/native.ts index 962eeec87..f4af6d48e 100644 --- a/packages/natives/src/native.ts +++ b/packages/natives/src/native.ts @@ -11,6 +11,7 @@ import { $env, getNativesDir, logger } from "@oh-my-pi/pi-utils"; import packageJson from "../package.json"; import type { NativeBindings } from "./bindings"; import { embeddedAddon } from "./embedded-addon"; +import "./appearance/types"; import "./ast/types"; import "./clipboard/types"; import "./glob/types"; @@ -270,6 +271,8 @@ function validateNative(bindings: NativeBindings, source: string): void { checkFn("invalidateFsScanCache"); checkFn("astFind"); checkFn("astReplace"); + checkFn("detectMacOSAppearance"); + checkFn("MacAppearanceObserver"); if (missing.length) { throw new Error( `Native addon missing exports (${source}). Missing: ${missing.join(", ")}. ` +