Skip to main content

CanonicalHostActionResult

type

The result shape of an action addressed by its canonical id.

type CanonicalHostActionResult<K extends HostActionId> = K extends StaticHostActionId ? StaticHostActionMap[K]['result'] : K extends CommandHostActionId ? CommandInvokeResult : never

Import

import { CanonicalHostActionResult } from '@modular/sdk/view';

Notes

category
Context