Link

Overview

code formatter


Table of contents


PrettierInput (interface)

Signature

interface PrettierInput extends Options {
  content: string | object
  extname?: string
}

monadFormat (constant)

Format a code Monad

Signature


export const monadFormat: MonadFunction<PrettierInput, string> = ...

Added in v0.2.0

format (function)

Format a code

Signature


export const format = (a: PrettierInput): string => ...

Added in v0.2.0