Skip to content

Options

SDK exports types for managing application and user options:

ts
import type {
  OptionValue,
  OptionsValues
} from '@aspro-cloud/miniapp-jssdk'

Types

OptionValue

Option value

Type
string | number | boolean | null | object

OptionsValues

Options object used in Options.get(), Options.set(), UserOptions.get(), UserOptions.set() methods

ts
type OptionsValues = Record<string, OptionValue>
PropertyTypeDescription
[key: string]OptionValueOption value

Published under the MIT license.