zephyr-edge-contract
Version:
Edge contract for Zephyr
10 lines • 681 B
TypeScript
export declare const ZEPHYR_BUILD_TARGETS: readonly ['web', 'ios', 'android', 'tap-app'];
export type ZephyrBuildTarget = (typeof ZEPHYR_BUILD_TARGETS)[number];
export declare function isZephyrBuildTarget(value: unknown): value is ZephyrBuildTarget;
/**
* Enforce the public build-target contract at JavaScript entry points as well as in
* TypeScript callers. Adapter options can come from untyped config files, so a type
* annotation alone is not enough to prevent an unsupported target from being published.
*/
export declare function assertZephyrBuildTarget(value: unknown, optionName?: string): asserts value is ZephyrBuildTarget;
//# sourceMappingURL=build-target.d.ts.map