Skip to content

types ​

luau
local types = require("@std/commands/transform/types")

WARNING

These APIs are still open to future evolution. In new major versions, they may change in backwards incompatible ways.

Summary ​

EntryDescription
ConfigOption
Migration
Transformer

Types ​

ConfigOption ​

luau
type ConfigOption =

Migration ​

luau
type Migration = {
	options: { ConfigOption }?,
	initialize: ((InitializationContext) -> ())?,
	transform: Transformer,
}

Transformer ​

luau
type Transformer = (Context) -> string | syntaxTypes.Replacements