CreateResolverOptions
Defined in: resolver.ts:115
Options shared by createMojiResolver and the extension.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
includeDefaults? | boolean | Include the built-in DEFAULT_MOJIS. Defaults to true. | resolver.ts:127 |
mojis? | | readonly MojiDefinition[] | Record<string, string | MojiDefinition> | Custom mojis, merged over (or replacing) the defaults. | resolver.ts:117 |
resolver? | MojiResolver | Fully custom synchronous resolver, consulted first. Return null/undefined to fall through to mojis and the defaults. Use this for lookups you can answer without I/O (e.g. an in-memory map). For a remote registry that must be fetched, use the extension’s resolveAsync option instead (see AsyncMojiResolver / createMojiCache). | resolver.ts:125 |