Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Interfaces

AmdConfig
Argument
ArrayExpression
ArrayPattern
ArrowFunctionExpression
AssignmentExpression
AssignmentPattern
AssignmentPatternProperty

{key} or {key = value}

AssignmentProperty
AwaitExpression
BaseModuleConfig
BigIntLiteral
BinaryExpression
BlockStatement
BooleanLiteral
BreakStatement
CallerOptions
CallExpression
CatchClause
Class
ClassDeclaration
ClassExpression
ClassMethod
ClassMethodBase
ClassProperty
ClassPropertyBase
CommonJsConfig
ComputedPropName
ConditionalExpression
Config

.swcrc

ConstModulesConfig
  • import { DEBUG } from '@ember/env-flags';
  • import { FEATURE_A, FEATURE_B } from '@ember/features';
Constructor
ContinueStatement
DebuggerStatement
Decorator
DoWhileStatement
EmptyStatement
EnvConfig

Configuration ported from babel-preset-env

Es6Config
EsParserConfig
ExportAllDeclaration
ExportDeclaration
ExportDefaultDeclaration
ExportDefaultExpression
ExportDefaultSpecifier
ExportNamedDeclaration
  • export { foo } from 'mod'
  • export { foo as bar } from 'mod'
ExportNamespaceSpecifier

export * as foo from 'src';

ExpressionStatement
ExprOrSpread
Fn
ForInStatement
ForOfStatement
ForStatement
FunctionDeclaration
FunctionExpression
GetterProperty
GlobalPassOption

Options for inline-global pass.

HasDecorator
HasSpan
Identifier
IfStatement
Import
ImportDeclaration
ImportDefaultSpecifier

e.g. import foo from 'mod.js'

ImportNamespaceSpecifier

e.g. import * as foo from 'mod.js'.

Invalid
JscConfig
JsFormatOptions

These properties are mostly not implemented yet, but it exists to support passing terser config to swc minify without modification.

JsMinifyOptions
JSXAttribute
JSXClosingElement
JSXClosingFragment
JSXElement
JSXEmptyExpression
JSXExpressionContainer
JSXFragment
JSXMemberExpression
JSXNamespacedName

XML-based namespace syntax:

JSXOpeningElement
JSXOpeningFragment
JSXSpreadChild
JSXText
KeyValuePatternProperty

{key: value}

KeyValueProperty
LabeledStatement
MatchPattern
MemberExpression
MetaProperty
MethodProperty
Module
NamedExportSpecifier
NamedImportSpecifier

e.g. - import { foo } from 'mod.js'

NewExpression
Node
NodeNextConfig
NullLiteral
NumericLiteral
ObjectExpression
ObjectPattern
OptimizerConfig
OptionalChainingExpression
Options

Programmatic options.

Output
Param
ParenthesisExpression
Plugin
PrivateMethod
PrivateName
PrivateProperty
ReactConfig
RegExpLiteral
RestElement
ReturnStatement
Script
SequenceExpression
SetterProperty
Span
SpreadElement
StringLiteral
Super
SuperPropExpression
SwitchCase
SwitchStatement
TaggedTemplateExpression
TemplateElement
TemplateLiteral
TerserCompressOptions
TerserMangleOptions
TerserManglePropertiesOptions
ThisExpression
ThrowStatement
TransformConfig

Options for transform.

TryStatement
TsArrayType
TsAsExpression
TsCallSignatureDeclaration
TsConditionalType
TsConstAssertion
TsConstructorType
TsConstructSignatureDeclaration
TsEnumDeclaration
TsEnumMember
TsExportAssignment
TsExpressionWithTypeArguments
TsExternalModuleReference
TsFunctionType
TsImportEqualsDeclaration
TsImportType
TsIndexedAccessType
TsIndexSignature
TsInferType
TsInterfaceBody
TsInterfaceDeclaration
TsIntersectionType
TsKeywordType
TsLiteralType
TsMappedType
TsMethodSignature
TsModuleBlock
TsModuleDeclaration
TsNamespaceDeclaration
TsNamespaceExportDeclaration
TsNonNullExpression
TsOptionalType
TsParameterProperty
TsParenthesizedType
TsParserConfig
TsPropertySignature
TsQualifiedName
TsRestType
TsThisType
TsTupleType
TsTypeAliasDeclaration
TsTypeAnnotation
TsTypeAssertion
TsTypeLiteral
TsTypeOperator
TsTypeParameter
TsTypeParameterDeclaration
TsTypeParameterInstantiation
TsTypePredicate
TsTypeQuery

typeof operator

TsTypeReference
TsUnionType
UmdConfig
UnaryExpression
UpdateExpression
VariableDeclaration
VariableDeclarator
WhileStatement
WithStatement
YieldExpression

§Type Aliases

Accessibility
AssignmentOperator
BinaryOperator
ClassMember
Declaration
DefaultDecl
ExportSpecifier
Expression
ImportSpecifier
JscTarget
JSXAttributeName
JSXAttributeOrSpread
JSXAttrValue
JSXElementChild
JSXElementName
JSXExpression
JSXObject
Literal
MethodKind
ModuleConfig
ModuleDeclaration
ModuleItem
ObjectPatternProperty
ParseOptions
ParserConfig
Pattern
Program
PropertOrSpread
Property

Identifier is a in { a, }

PropertyName
Statement
Swcrc
TerserEcmaVersion
TruePlusMinus
TsEntityName
TsEnumMemberId
TsFnOrConstructorType
TsFnParameter
TsKeywordTypeKind
TsLiteral
TsModuleName
TsModuleReference
TsNamespaceBody

namespace A.B { } is a namespace named A with another TsNamespaceDecl as its body.

TsParameterPropertyParameter
TsThisTypeOrIdent
TsType
TsTypeElement
TsTypeOperatorOp
TsTypeQueryExpr
TsUnionOrIntersectionType
UnaryOperator
UpdateOperator
VariableDeclarationKind