Arg TypeAlias
A type that represents a function argument.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/tree-agent/alpha.
For more information about our API support guarantees, see here.
Signature
export type Arg<T extends TypeFactoryType = TypeFactoryType> = readonly [
name: string,
type: T
];
Type Parameters
| Parameter | Constraint | Default | Description |
|---|---|---|---|
| T | TypeFactoryType | TypeFactoryType |