Spec-Zone.ru › Deno 2

Linter

Interfaces and helpers for writing and testing custom lint rules.

Eg Deno.lint.Plugin


function Deno.lint.runPlugin

unstable
runPlugin(
plugin: Plugin,
fileName: string,
source: string,
): Diagnostic[]

This API is useful for testing lint plugins.

It throws an error if it's not used in deno test subcommand.

Parameters

plugin: Plugin
fileName: string
source: string

Return Type

Diagnostic[]

interface Deno.lint.AccessorProperty

unstable

Properties

type: "AccessorProperty"
range: Range
declare: boolean
computed: boolean
optional: boolean
override: boolean
readonly: boolean
static: boolean
accessibility: Accessibility | undefined
decorators: Decorator[]
key:
Expression
| Identifier
| NumberLiteral
| StringLiteral
value: Expression | null
parent: ClassBody

interface Deno.lint.ArrayExpression

unstable

An array literal

Properties

type: "ArrayExpression"
range: Range
elements: Array<Expression | SpreadElement>
parent: Node

interface Deno.lint.ArrayPattern

unstable

Destructure an array.

Properties

type: "ArrayPattern"
range: Range
optional: boolean
typeAnnotation: TSTypeAnnotation | undefined
elements: Array<
ArrayPattern
| AssignmentPattern
| Identifier
| MemberExpression
| ObjectPattern
| RestElement
| null
>
parent: Node

interface Deno.lint.ArrowFunctionExpression

unstable

Arrow function expression

Properties

type: "ArrowFunctionExpression"
range: Range
async: boolean
generator: boolean
id: null
typeParameters: TSTypeParameterDeclaration | undefined
params: Parameter[]
returnType: TSTypeAnnotation | undefined
body: BlockStatement | Expression
parent: Node

interface Deno.lint.AssignmentExpression

unstable

Updaate a variable or property.

Properties

type: "AssignmentExpression"
range: Range
operator:
"&&="
| "&="
| "**="
| "*="
| "||="
| "|="
| "^="
| "="
| ">>="
| ">>>="
| "<<="
| "-="
| "%="
| "+="
| "??="
| "/="
left: Expression
right: Expression
parent: Node

interface Deno.lint.AssignmentPattern

unstable

Assign default values in parameters.

Properties

type: "AssignmentPattern"
range: Range
left:
ArrayPattern
| ObjectPattern
| Identifier
right: Expression
parent: Node

interface Deno.lint.AwaitExpression

unstable

Await a Promise and get its fulfilled value.

Properties

type: "AwaitExpression"
range: Range
argument: Expression
parent: Node

interface Deno.lint.BigIntLiteral

unstable

Represents numbers that are too high or too low to be represented by the number type.

const a = 9007199254740991n;

Properties

type: "Literal"
range: Range
raw: string
bigint: string
value: bigint
parent: Node

interface Deno.lint.BinaryExpression

unstable

Compare left and right value with the specifier operator.

Properties

type: "BinaryExpression"
range: Range
operator:
"&"
| "**"
| "*"
| "||"
| "|"
| "^"
| "==="
| "=="
| "!=="
| "!="
| ">="
| ">>>"
| ">>"
| ">"
| "in"
| "instanceof"
| "<="
| "<<"
| "<"
| "-"
| "%"
| "+"
| "/"
left: Expression | PrivateIdentifier
right: Expression
parent: Node

interface Deno.lint.BlockComment

unstable

A potentially multi-line block comment

Properties

type: "Block"
range: Range
value: string

interface Deno.lint.BlockStatement

unstable

Properties

type: "BlockStatement"
range: Range
body: Statement[]
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.BooleanLiteral

unstable

Either true or false

Properties

type: "Literal"
range: Range
raw: "false" | "true"
value: boolean
parent: Node

interface Deno.lint.BreakStatement

unstable

Break any loop or labeled statement, example:

while (true) {
  break;
}

for (let i = 0; i < 10; i++) {
  if (i > 5) break;
}

Properties

type: "BreakStatement"
range: Range
label: Identifier | null
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.CallExpression

unstable

A function call.

Properties

type: "CallExpression"
range: Range
optional: boolean
callee: Expression
typeArguments: TSTypeParameterInstantiation | null
arguments: Array<Expression | SpreadElement>
parent: Node

interface Deno.lint.CatchClause

unstable

The catch clause of a try/catch statement

Properties

type: "CatchClause"
range: Range
param:
ArrayPattern
| ObjectPattern
| Identifier
| null
body: BlockStatement
parent: TryStatement

interface Deno.lint.ChainExpression

unstable

ChainExpression

Properties

type: "ChainExpression"
range: Range
expression:
CallExpression
| MemberExpression
| TSNonNullExpression
parent: Node

interface Deno.lint.ClassBody

unstable

Represents the body of a class and contains all members

Properties

type: "ClassBody"
range: Range
body: Array<
AccessorProperty
| MethodDefinition
| PropertyDefinition
| StaticBlock
| TSAbstractMethodDefinition
| TSAbstractPropertyDefinition
| TSIndexSignature
>
parent: ClassDeclaration | ClassExpression

interface Deno.lint.ClassDeclaration

unstable

Declares a class in the current scope

Properties

type: "ClassDeclaration"
range: Range
declare: boolean
abstract: boolean
id: Identifier | null
superClass:
ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| CallExpression
| ClassExpression
| FunctionExpression
| Identifier
| JSXElement
| JSXFragment
| Literal
| TemplateLiteral
| MemberExpression
| MetaProperty
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| ThisExpression
| TSAsExpression
| TSNonNullExpression
| TSTypeAssertion
| null
implements: TSClassImplements[]
body: ClassBody
parent: Node

interface Deno.lint.ClassExpression

unstable

Similar to ClassDeclaration but for declaring a class as an expression. The main difference is that the class name(=id) can be omitted.

Properties

type: "ClassExpression"
range: Range
declare: boolean
abstract: boolean
id: Identifier | null
superClass:
ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| CallExpression
| ClassExpression
| FunctionExpression
| Identifier
| JSXElement
| JSXFragment
| Literal
| TemplateLiteral
| MemberExpression
| MetaProperty
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| ThisExpression
| TSAsExpression
| TSNonNullExpression
| TSTypeAssertion
| null
superTypeArguments: TSTypeParameterInstantiation | undefined
typeParameters: TSTypeParameterDeclaration | undefined
implements: TSClassImplements[]
body: ClassBody
parent: Node

interface Deno.lint.ConditionalExpression

unstable

Inline if-statement.

Properties

type: "ConditionalExpression"
range: Range
test: Expression
consequent: Expression
alternate: Expression
parent: Node

interface Deno.lint.ContinueStatement

unstable

Terminates the current loop and continues with the next iteration.

Properties

type: "ContinueStatement"
range: Range
label: Identifier | null
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.DebuggerStatement

unstable

The debugger; statement.

Properties

type: "DebuggerStatement"
range: Range
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.Decorator

unstable

Experimental: Decorators

Properties

type: "Decorator"
range: Range
expression:
ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| CallExpression
| ClassExpression
| FunctionExpression
| Identifier
| JSXElement
| JSXFragment
| Literal
| TemplateLiteral
| MemberExpression
| MetaProperty
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| ThisExpression
| TSAsExpression
| TSNonNullExpression
| TSTypeAssertion
parent: Node

interface Deno.lint.Diagnostic

unstable

Properties

id: string
message: string
hint: string
optional
range: Range
fix: Fix[]
optional

interface Deno.lint.DoWhileStatement

unstable

Re-run loop for as long as test expression is truthy.

Properties

type: "DoWhileStatement"
range: Range
test: Expression
body: Statement
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.ExportAllDeclaration

unstable

Properties

type: "ExportAllDeclaration"
range: Range
exportKind: "type" | "value"
exported: Identifier | null
source: StringLiteral
attributes: ImportAttribute[]
parent: Node

interface Deno.lint.ExportDefaultDeclaration

unstable

Properties

type: "ExportDefaultDeclaration"
range: Range
declaration:
ClassDeclaration
| Expression
| FunctionDeclaration
| TSDeclareFunction
| TSEnumDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration
exportKind: "type" | "value"
parent:
BlockStatement
| Program
| TSModuleBlock

interface Deno.lint.ExportNamedDeclaration

unstable

Properties

type: "ExportNamedDeclaration"
range: Range
exportKind: "type" | "value"
specifiers: ExportSpecifier[]
declaration:
ClassDeclaration
| FunctionDeclaration
| TSDeclareFunction
| TSEnumDeclaration
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration
| null
source: StringLiteral | null
attributes: ImportAttribute[]
parent:
BlockStatement
| Program
| TSModuleBlock

interface Deno.lint.ExportSpecifier

unstable

Properties

type: "ExportSpecifier"
range: Range
exportKind: "type" | "value"
exported: Identifier | StringLiteral
local: Identifier | StringLiteral
parent: ExportNamedDeclaration

interface Deno.lint.ExpressionStatement

unstable

Statement that holds an expression.

Properties

type: "ExpressionStatement"
range: Range
expression: Expression
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.Fix

unstable

Properties

range: Range
text: string
optional

interface Deno.lint.Fixer

unstable

Methods

insertTextAfter(
node: Node,
text: string,
): Fix
insertTextAfterRange(
range: Range,
text: string,
): Fix
insertTextBefore(
node: Node,
text: string,
): Fix
insertTextBeforeRange(
range: Range,
text: string,
): Fix
remove(node: Node): Fix
removeRange(range: Range): Fix
replaceText(
node: Node,
text: string,
): Fix
replaceTextRange(
range: Range,
text: string,
): Fix

interface Deno.lint.ForInStatement

unstable

Enumerate over all enumerable string properties of an object.

Properties

type: "ForInStatement"
range: Range
left: Expression | VariableDeclaration
right: Expression
body: Statement
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.ForOfStatement

unstable

Iterate over sequence of values from an iterator.

Properties

type: "ForOfStatement"
range: Range
await: boolean
left: Expression | VariableDeclaration
right: Expression
body: Statement
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.ForStatement

unstable

Classic for-loop.

Properties

type: "ForStatement"
range: Range
init:
Expression
| VariableDeclaration
| null
test: Expression | null
update: Expression | null
body: Statement
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.FunctionDeclaration

unstable

Declares a function in the current scope

Properties

type: "FunctionDeclaration"
range: Range
declare: boolean
async: boolean
generator: boolean
id: Identifier | null
typeParameters: TSTypeParameterDeclaration | undefined
returnType: TSTypeAnnotation | undefined
body: BlockStatement | null
params: Parameter[]
parent:
BlockStatement
| ExportDefaultDeclaration
| ExportNamedDeclaration
| Program

interface Deno.lint.FunctionExpression

unstable

Declare a function as an expression. Similar to FunctionDeclaration, with an optional name (=id).

Properties

type: "FunctionExpression"
range: Range
async: boolean
generator: boolean
id: Identifier | null
typeParameters: TSTypeParameterDeclaration | undefined
params: Parameter[]
returnType: TSTypeAnnotation | undefined
body: BlockStatement
parent: Node

interface Deno.lint.Identifier

unstable

Custom named node by the developer. Can be a variable name, a function name, parameter, etc.

Properties

type: "Identifier"
range: Range
name: string
optional: boolean
typeAnnotation: TSTypeAnnotation | undefined
parent: Node

interface Deno.lint.IfStatement

unstable

Execute a statement the test passes, otherwise the alternate statement, if it was defined.

Properties

type: "IfStatement"
range: Range
test: Expression
consequent: Statement
alternate: Statement | null
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.ImportAttribute

unstable

Properties

type: "ImportAttribute"
range: Range
key: Identifier | Literal
value: Literal
parent:
ExportAllDeclaration
| ExportNamedDeclaration
| ImportDeclaration
| TSImportType

interface Deno.lint.ImportDeclaration

unstable

An import declaration, examples:

Properties

type: "ImportDeclaration"
range: Range
importKind: "type" | "value"
source: StringLiteral
specifiers: Array<
ImportDefaultSpecifier
| ImportNamespaceSpecifier
| ImportSpecifier
>
attributes: ImportAttribute[]
parent: Node

interface Deno.lint.ImportDefaultSpecifier

unstable

Properties

type: "ImportDefaultSpecifier"
range: Range
local: Identifier
parent: ImportDeclaration

interface Deno.lint.ImportExpression

unstable

Dynamically import a module.

Properties

type: "ImportExpression"
range: Range
source: Expression
options: Expression | null
parent: Node

interface Deno.lint.ImportNamespaceSpecifier

unstable

Properties

type: "ImportNamespaceSpecifier"
range: Range
local: Identifier
parent: ImportDeclaration

interface Deno.lint.ImportSpecifier

unstable

Properties

type: "ImportSpecifier"
range: Range
imported: Identifier | StringLiteral
local: Identifier
importKind: "type" | "value"
parent:
ExportAllDeclaration
| ExportNamedDeclaration
| ImportDeclaration

interface Deno.lint.JSXAttribute

unstable

A JSX attribute

Properties

type: "JSXAttribute"
range: Range
name: JSXIdentifier | JSXNamespacedName
value:
JSXElement
| JSXExpressionContainer
| Literal
| null
parent: JSXOpeningElement

interface Deno.lint.JSXClosingElement

unstable

The closing tag of a JSXElement. Only used when the element is not self-closing.

Properties

type: "JSXClosingElement"
range: Range
name:
JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName
parent: JSXElement

interface Deno.lint.JSXClosingFragment

unstable

The closing tag of a JSXFragment.

Properties

type: "JSXClosingFragment"
range: Range
parent: JSXFragment

interface Deno.lint.JSXElement

unstable

A JSX element.

Properties

type: "JSXElement"
range: Range
openingElement: JSXOpeningElement
closingElement: JSXClosingElement | null
children: JSXChild[]
parent: Node

interface Deno.lint.JSXEmptyExpression

unstable

Empty JSX expression.

Properties

type: "JSXEmptyExpression"
range: Range
parent:
JSXAttribute
| JSXElement
| JSXFragment

interface Deno.lint.JSXExpressionContainer

unstable

Inserts a normal JS expression into JSX.

Properties

type: "JSXExpressionContainer"
range: Range
expression: Expression | JSXEmptyExpression
parent:
JSXAttribute
| JSXElement
| JSXFragment

interface Deno.lint.JSXFragment

unstable

Usually a passthrough node to pass multiple sibling elements as the JSX syntax requires one root element.

Properties

type: "JSXFragment"
range: Range
openingFragment: JSXOpeningFragment
closingFragment: JSXClosingFragment
children: JSXChild[]
parent: Node

interface Deno.lint.JSXIdentifier

unstable

User named identifier inside JSX.

Properties

type: "JSXIdentifier"
range: Range
name: string
parent:
JSXNamespacedName
| JSXOpeningElement
| JSXAttribute
| JSXClosingElement
| JSXMemberExpression

interface Deno.lint.JSXMemberExpression

unstable

JSX member expression.

Properties

type: "JSXMemberExpression"
range: Range
object:
JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName
property: JSXIdentifier
parent: JSXOpeningElement | JSXClosingElement

interface Deno.lint.JSXNamespacedName

unstable

Namespaced name in JSX

Properties

type: "JSXNamespacedName"
range: Range
namespace: JSXIdentifier
name: JSXIdentifier
parent:
JSXOpeningElement
| JSXAttribute
| JSXClosingElement
| JSXMemberExpression

interface Deno.lint.JSXOpeningElement

unstable

The opening tag of a JSXElement

Properties

type: "JSXOpeningElement"
range: Range
selfClosing: boolean
name:
JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName
attributes: Array<JSXAttribute | JSXSpreadAttribute>
typeArguments: TSTypeParameterInstantiation | undefined
parent: JSXElement

interface Deno.lint.JSXOpeningFragment

unstable

The opening tag of a JSXFragment.

Properties

type: "JSXOpeningFragment"
range: Range
parent: JSXFragment

interface Deno.lint.JSXSpreadAttribute

unstable

Spreads an object as JSX attributes.

Properties

type: "JSXSpreadAttribute"
range: Range
argument: Expression
parent: JSXOpeningElement

interface Deno.lint.JSXText

unstable

Plain text in JSX.

Properties

type: "JSXText"
range: Range
raw: string
value: string
parent: JSXElement | JSXFragment

interface Deno.lint.LabeledStatement

unstable

Custom control flow based on labels.

Properties

type: "LabeledStatement"
range: Range
label: Identifier
body: Statement
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.LineComment

unstable

A single line comment

Properties

type: "Line"
range: Range
value: string

interface Deno.lint.LogicalExpression

unstable

Chain expressions based on the operator specified

Properties

type: "LogicalExpression"
range: Range
operator:
"&&"
| "??"
| "||"
left: Expression
right: Expression
parent: Node

interface Deno.lint.MemberExpression

unstable

MemberExpression

Properties

type: "MemberExpression"
range: Range
optional: boolean
computed: boolean
object: Expression
property:
Expression
| Identifier
| PrivateIdentifier
parent: Node

interface Deno.lint.MetaProperty

unstable

Can either be import.meta or new.target.

Properties

type: "MetaProperty"
range: Range
meta: Identifier
property: Identifier
parent: Node

interface Deno.lint.MethodDefinition

unstable

Properties

type: "MethodDefinition"
range: Range
declare: boolean
computed: boolean
optional: boolean
override: boolean
readonly: boolean
static: boolean
kind:
"constructor"
| "get"
| "method"
| "set"
accessibility: Accessibility | undefined
decorators: Decorator[]
key:
PrivateIdentifier
| Identifier
| NumberLiteral
| StringLiteral
| Expression
value: FunctionExpression | TSEmptyBodyFunctionExpression
parent: ClassBody

interface Deno.lint.NewExpression

unstable

Create a new instance of a class.

Properties

type: "NewExpression"
range: Range
callee: Expression
typeArguments: TSTypeParameterInstantiation | undefined
arguments: Array<Expression | SpreadElement>
parent: Node

interface Deno.lint.NullLiteral

unstable

The null literal

Properties

type: "Literal"
range: Range
raw: "null"
value: null
parent: Node

interface Deno.lint.NumberLiteral

unstable

A number literal

1;
1.2;

Properties

type: "Literal"
range: Range
raw: string
value: number
parent: Node

interface Deno.lint.ObjectExpression

unstable

An object literal.

Properties

type: "ObjectExpression"
range: Range
properties: Array<Property | SpreadElement>
parent: Node

interface Deno.lint.ObjectPattern

unstable

Destructure an object.

Properties

type: "ObjectPattern"
range: Range
optional: boolean
typeAnnotation: TSTypeAnnotation | undefined
properties: Array<Property | RestElement>
parent: Node

interface Deno.lint.Plugin

unstable

In your plugins file do something like

export default {
  name: "my-plugin",
  rules: {
    "no-foo": {
       create(ctx) {
         return {
            VariableDeclaration(node) {}
         }
       }
    }
  }
} satisfies Deno.lint.Plugin

Properties

name: string
rules: Record<string, Rule>

interface Deno.lint.PrivateIdentifier

unstable

Private members inside of classes, must start with #.

Properties

type: "PrivateIdentifier"
range: Range
name: string
parent:
TSAbstractPropertyDefinition
| TSPropertySignature
| PropertyDefinition
| MethodDefinition
| BinaryExpression
| MemberExpression

interface Deno.lint.Program

unstable

Properties

type: "Program"
range: Range
sourceType: "module" | "script"
body: Statement[]
comments: Array<LineComment | BlockComment>

interface Deno.lint.Property

unstable

Properties

type: "Property"
range: Range
shorthand: boolean
computed: boolean
method: boolean
kind:
"get"
| "init"
| "set"
key:
Expression
| Identifier
| NumberLiteral
| StringLiteral
value:
AssignmentPattern
| ArrayPattern
| ObjectPattern
| Identifier
| Expression
| TSEmptyBodyFunctionExpression
parent: ObjectExpression | ObjectPattern

interface Deno.lint.PropertyDefinition

unstable

Properties

type: "PropertyDefinition"
range: Range
declare: boolean
computed: boolean
optional: boolean
override: boolean
readonly: boolean
static: boolean
accessibility: Accessibility | undefined
decorators: Decorator[]
key:
Expression
| Identifier
| NumberLiteral
| StringLiteral
| PrivateIdentifier
value: Expression | null
typeAnnotation: TSTypeAnnotation | undefined
parent: ClassBody

interface Deno.lint.RegExpLiteral

unstable

A regex literal:

/foo(bar|baz)$/g

Properties

type: "Literal"
range: Range
raw: string
regex: { flags: string; pattern: string; }
value: RegExp | null
parent: Node

interface Deno.lint.ReportData

unstable

Properties

node: Node
optional
range: Range
optional
message: string
hint: string
optional

Methods

fix(fixer: Fixer): Fix | Iterable<Fix>
optional

interface Deno.lint.RestElement

unstable

The rest of function parameters.

Properties

type: "RestElement"
range: Range
typeAnnotation: TSTypeAnnotation | undefined
argument:
ArrayPattern
| AssignmentPattern
| Identifier
| MemberExpression
| ObjectPattern
| RestElement
parent: Node

interface Deno.lint.ReturnStatement

unstable

Returns a value from a function.

Properties

type: "ReturnStatement"
range: Range
argument: Expression | null
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.Rule

unstable

Methods

create(ctx: RuleContext): LintVisitor
destroy(ctx: RuleContext): void
optional

interface Deno.lint.RuleContext

unstable

Properties

id: string

The running rule id: <plugin-name>/<rule-name>

filename: string

Name of the file that's currently being linted.

sourceCode: SourceCode

Helper methods for working with the raw source code.

Methods

report(data: ReportData): void

Report a lint error.

getFilename(): string
deprecated
getSourceCode(): SourceCode
deprecated

interface Deno.lint.SequenceExpression

unstable

Execute multiple expressions in sequence.

Properties

type: "SequenceExpression"
range: Range
expressions: Expression[]
parent: Node

interface Deno.lint.SourceCode

unstable

Properties

text: string

Get the full source code.

ast: Program

Get the root node of the file. It's always the Program node.

Methods

getText(node?: Node): string

Get the source test of a node. Omit node to get the full source code.

getAncestors(node: Node): Node[]

Returns array of ancestors of the current node, excluding the current node.

getAllComments(): Array<LineComment | BlockComment>

Get all comments inside the source.

getCommentsBefore(node: Node): Array<LineComment | BlockComment>

Get leading comments before a node.

getCommentsAfter(node: Node): Array<LineComment | BlockComment>

Get trailing comments after a node.

getCommentsInside(node: Node): Array<LineComment | BlockComment>

Get comments inside a node.


interface Deno.lint.SpreadElement

unstable

Properties

type: "SpreadElement"
range: Range
argument: Expression
parent:
ArrayExpression
| CallExpression
| NewExpression
| ObjectExpression

interface Deno.lint.StaticBlock

unstable

Static class initializiation block.

Properties

type: "StaticBlock"
range: Range
body: Statement[]
parent: ClassBody

interface Deno.lint.StringLiteral

unstable

A string literal

"foo";
'foo "bar"';

Properties

type: "Literal"
range: Range
raw: string
value: string
parent: Node

interface Deno.lint.Super

unstable

The super keyword used in classes.

Properties

type: "Super"
range: Range
parent: Node

interface Deno.lint.SwitchCase

unstable

A single case of a SwitchStatement.

Properties

type: "SwitchCase"
range: Range
test: Expression | null
consequent: Statement[]
parent: SwitchStatement

interface Deno.lint.SwitchStatement

unstable

Match an expression against a series of cases.

Properties

type: "SwitchStatement"
range: Range
discriminant: Expression
cases: SwitchCase[]
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.TaggedTemplateExpression

unstable

Tagged template expression.

Properties

type: "TaggedTemplateExpression"
range: Range
tag: Expression
typeArguments: TSTypeParameterInstantiation | undefined
quasi: TemplateLiteral
parent: Node

interface Deno.lint.TemplateElement

unstable

The static portion of a template literal.

Properties

type: "TemplateElement"
range: Range
tail: boolean
raw: string
cooked: string
parent: TemplateLiteral | TSTemplateLiteralType

interface Deno.lint.TemplateLiteral

unstable

A template literal string.

Properties

type: "TemplateLiteral"
range: Range
quasis: TemplateElement[]
expressions: Expression[]
parent: Node

interface Deno.lint.ThisExpression

unstable

The this keyword used in classes.

Properties

type: "ThisExpression"
range: Range
parent: Node

interface Deno.lint.ThrowStatement

unstable

Throw a user defined exception. Stops execution of the current function.

Properties

type: "ThrowStatement"
range: Range
argument: Expression
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.TryStatement

unstable

Try/catch statement

Properties

type: "TryStatement"
range: Range
block: BlockStatement
handler: CatchClause | null
finalizer: BlockStatement | null
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.TSAbstractMethodDefinition

unstable

Properties

type: "TSAbstractMethodDefinition"
range: Range
computed: boolean
optional: boolean
override: boolean
static: boolean
accessibility: Accessibility | undefined
kind: "method"
key:
Expression
| Identifier
| NumberLiteral
| StringLiteral
value: FunctionExpression | TSEmptyBodyFunctionExpression
parent: Node

interface Deno.lint.TSAbstractPropertyDefinition

unstable

Properties

type: "TSAbstractPropertyDefinition"
range: Range
computed: boolean
optional: boolean
override: boolean
static: boolean
definite: boolean
declare: boolean
readonly: boolean
accessibility: Accessibility | undefined
decorators: Decorator[]
key:
Expression
| PrivateIdentifier
| Identifier
| NumberLiteral
| StringLiteral
typeAnnotation: TSTypeAnnotation | undefined
value: Expression | null
parent: ClassBody

interface Deno.lint.TSAnyKeyword

unstable
const a: any = null;

Properties

type: "TSAnyKeyword"
range: Range
parent: Node

interface Deno.lint.TSArrayType

unstable

Properties

type: "TSArrayType"
range: Range
elementType: TypeNode
parent: Node

interface Deno.lint.TSAsExpression

unstable

Properties

type: "TSAsExpression"
range: Range
expression: Expression
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSBigIntKeyword

unstable

Properties

type: "TSBigIntKeyword"
range: Range
parent: Node

interface Deno.lint.TSBooleanKeyword

unstable

Properties

type: "TSBooleanKeyword"
range: Range
parent: Node

interface Deno.lint.TSCallSignatureDeclaration

unstable

Properties

type: "TSCallSignatureDeclaration"
range: Range
typeParameters: TSTypeParameterDeclaration | undefined
params: Parameter[]
returnType: TSTypeAnnotation | undefined
parent: TSInterfaceBody | TSTypeLiteral

interface Deno.lint.TSClassImplements

unstable

Properties

type: "TSClassImplements"
range: Range
expression: Expression
typeArguments: TSTypeParameterInstantiation | undefined
parent: ClassDeclaration | ClassExpression

interface Deno.lint.TSConditionalType

unstable

Properties

type: "TSConditionalType"
range: Range
checkType: TypeNode
extendsType: TypeNode
trueType: TypeNode
falseType: TypeNode
parent: Node

interface Deno.lint.TSConstructSignatureDeclaration

unstable

Properties

type: "TSConstructSignatureDeclaration"
range: Range
typeParameters: TSTypeParameterDeclaration | undefined
params: Parameter[]
returnType: TSTypeAnnotation
parent: TSInterfaceBody | TSTypeLiteral

interface Deno.lint.TSDeclareFunction

unstable

Properties

type: "TSDeclareFunction"
range: Range
async: boolean
declare: boolean
generator: boolean
body: undefined
id: Identifier | null
params: Parameter[]
returnType: TSTypeAnnotation | undefined
typeParameters: TSTypeParameterDeclaration | undefined
parent: Node

interface Deno.lint.TSEmptyBodyFunctionExpression

unstable

Properties

type: "TSEmptyBodyFunctionExpression"
range: Range
declare: boolean
expression: boolean
async: boolean
generator: boolean
id: null
body: null
typeParameters: TSTypeParameterDeclaration | undefined
params: Parameter[]
returnType: TSTypeAnnotation | undefined
parent:
MethodDefinition
| Property
| TSAbstractMethodDefinition
| TSParameterProperty

interface Deno.lint.TSEnumBody

unstable

The body of a TSEnumDeclaration

Properties

type: "TSEnumBody"
range: Range
members: TSEnumMember[]
parent: TSEnumDeclaration

interface Deno.lint.TSEnumDeclaration

unstable
enum Foo { A, B };

Properties

type: "TSEnumDeclaration"
range: Range
declare: boolean
const: boolean
id: Identifier
body: TSEnumBody
parent: Node

interface Deno.lint.TSEnumMember

unstable

A member of a TSEnumDeclaration

Properties

type: "TSEnumMember"
range: Range
id:
Identifier
| NumberLiteral
| StringLiteral
initializer: Expression | undefined
parent: TSEnumBody

interface Deno.lint.TSExportAssignment

unstable

Properties

type: "TSExportAssignment"
range: Range
expression: Expression
parent: Node

interface Deno.lint.TSExternalModuleReference

unstable

Properties

type: "TSExternalModuleReference"
range: Range
expression: StringLiteral
parent: Node

interface Deno.lint.TSFunctionType

unstable

Properties

type: "TSFunctionType"
range: Range
params: Parameter[]
returnType: TSTypeAnnotation | undefined
typeParameters: TSTypeParameterDeclaration | undefined
parent: Node

interface Deno.lint.TSImportEqualsDeclaration

unstable

Properties

type: "TSImportEqualsDeclaration"
range: Range
importKind: "type" | "value"
id: Identifier
moduleReference:
Identifier
| TSExternalModuleReference
| TSQualifiedName
parent: Node

interface Deno.lint.TSImportType

unstable

Properties

type: "TSImportType"
range: Range
argument: TypeNode
qualifier:
Identifier
| ThisExpression
| TSQualifiedName
| null
typeArguments: TSTypeParameterInstantiation | null
parent: Node

interface Deno.lint.TSIndexedAccessType

unstable

Properties

type: "TSIndexedAccessType"
range: Range
indexType: TypeNode
objectType: TypeNode
parent: Node

interface Deno.lint.TSIndexSignature

unstable

Properties

type: "TSIndexSignature"
range: Range
readonly: boolean
static: boolean
parameters: Parameter[]
typeAnnotation: TSTypeAnnotation | undefined
parent:
ClassBody
| TSInterfaceBody
| TSTypeLiteral

interface Deno.lint.TSInferType

unstable

Properties

type: "TSInferType"
range: Range
typeParameter: TSTypeParameter
parent: Node

interface Deno.lint.TSInstantiationExpression

unstable

Properties

type: "TSInstantiationExpression"
range: Range
expression: Expression
typeArguments: TSTypeParameterInstantiation
parent: Node

interface Deno.lint.TSInterfaceBody

unstable

Properties

type: "TSInterfaceBody"
range: Range
body: Array<
TSCallSignatureDeclaration
| TSConstructSignatureDeclaration
| TSIndexSignature
| TSMethodSignature
| TSPropertySignature
>
parent: TSInterfaceDeclaration

interface Deno.lint.TSInterfaceDeclaration

unstable

Properties

type: "TSInterfaceDeclaration"
range: Range
declare: boolean
id: Identifier
extends: TSInterfaceHeritage[]
typeParameters: TSTypeParameterDeclaration | undefined
body: TSInterfaceBody
parent: Node

interface Deno.lint.TSInterfaceHeritage

unstable

Properties

type: "TSInterfaceHeritage"
range: Range
expression: Expression
typeArguments: TSTypeParameterInstantiation | undefined
parent: TSInterfaceBody

interface Deno.lint.TSIntersectionType

unstable

Properties

type: "TSIntersectionType"
range: Range
types: TypeNode[]
parent: Node

interface Deno.lint.TSIntrinsicKeyword

unstable

Properties

type: "TSIntrinsicKeyword"
range: Range
parent: Node

interface Deno.lint.TSLiteralType

unstable

Properties

type: "TSLiteralType"
range: Range
literal:
Literal
| TemplateLiteral
| UnaryExpression
| UpdateExpression
parent: Node

interface Deno.lint.TSMappedType

unstable

Properties

type: "TSMappedType"
range: Range
readonly: boolean
optional: boolean
nameType: TypeNode | null
typeAnnotation: TypeNode | undefined
constraint: TypeNode
key: Identifier
parent: Node

interface Deno.lint.TSMethodSignature

unstable

Properties

type: "TSMethodSignature"
range: Range
computed: boolean
optional: boolean
readonly: boolean
static: boolean
kind:
"get"
| "set"
| "method"
key:
Expression
| Identifier
| NumberLiteral
| StringLiteral
returnType: TSTypeAnnotation | undefined
params: Parameter[]
typeParameters: TSTypeParameterDeclaration | undefined
parent: TSInterfaceBody | TSTypeLiteral

interface Deno.lint.TSModuleBlock

unstable

Body of a TSModuleDeclaration

Properties

type: "TSModuleBlock"
range: Range
body: Array<
ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ImportDeclaration
| Statement
| TSImportEqualsDeclaration
| TSNamespaceExportDeclaration
>
parent: TSModuleDeclaration

interface Deno.lint.TSModuleDeclaration

unstable

Properties

type: "TSModuleDeclaration"
range: Range
declare: boolean
kind:
"global"
| "module"
| "namespace"
id:
Identifier
| Literal
| TSQualifiedName
body: TSModuleBlock | undefined
parent:
ExportDefaultDeclaration
| ExportNamedDeclaration
| Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.TSNamedTupleMember

unstable

Properties

type: "TSNamedTupleMember"
range: Range
label: Identifier
elementType: TypeNode
optional: boolean
parent: Node

interface Deno.lint.TSNamespaceExportDeclaration

unstable

Properties

type: "TSNamespaceExportDeclaration"
range: Range
id: Identifier
parent: Node

interface Deno.lint.TSNeverKeyword

unstable

Properties

type: "TSNeverKeyword"
range: Range
parent: Node

interface Deno.lint.TSNonNullExpression

unstable

Properties

type: "TSNonNullExpression"
range: Range
expression: Expression
parent: Node

interface Deno.lint.TSNullKeyword

unstable

Properties

type: "TSNullKeyword"
range: Range
parent: Node

interface Deno.lint.TSNumberKeyword

unstable

Properties

type: "TSNumberKeyword"
range: Range
parent: Node

interface Deno.lint.TSObjectKeyword

unstable

Properties

type: "TSObjectKeyword"
range: Range
parent: Node

interface Deno.lint.TSOptionalType

unstable

Properties

type: "TSOptionalType"
range: Range
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSParameterProperty

unstable

Properties

type: "TSParameterProperty"
range: Range
override: boolean
readonly: boolean
static: boolean
accessibility: Accessibility | undefined
decorators: Decorator[]
parameter:
AssignmentPattern
| ArrayPattern
| ObjectPattern
| Identifier
| RestElement
parent:
ArrowFunctionExpression
| FunctionDeclaration
| FunctionExpression
| TSDeclareFunction
| TSEmptyBodyFunctionExpression

interface Deno.lint.TSPropertySignature

unstable

Properties

type: "TSPropertySignature"
range: Range
computed: boolean
optional: boolean
readonly: boolean
static: boolean
key:
PrivateIdentifier
| Expression
| Identifier
| NumberLiteral
| StringLiteral
typeAnnotation: TSTypeAnnotation | undefined
parent: TSInterfaceBody | TSTypeLiteral

interface Deno.lint.TSQualifiedName

unstable

Properties

type: "TSQualifiedName"
range: Range
left:
Identifier
| ThisExpression
| TSQualifiedName
right: Identifier
parent: Node

interface Deno.lint.TSRestType

unstable

Properties

type: "TSRestType"
range: Range
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSSatisfiesExpression

unstable

Properties

type: "TSSatisfiesExpression"
range: Range
expression: Expression
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSStringKeyword

unstable

Properties

type: "TSStringKeyword"
range: Range
parent: Node

interface Deno.lint.TSSymbolKeyword

unstable

Properties

type: "TSSymbolKeyword"
range: Range
parent: Node

interface Deno.lint.TSTemplateLiteralType

unstable

Properties

type: "TSTemplateLiteralType"
range: Range
quasis: TemplateElement[]
types: TypeNode[]
parent: Node

interface Deno.lint.TSThisType

unstable

Properties

type: "TSThisType"
range: Range
parent: Node

interface Deno.lint.TSTupleType

unstable

Properties

type: "TSTupleType"
range: Range
elementTypes: TypeNode[]
parent: Node

interface Deno.lint.TSTypeAliasDeclaration

unstable

Properties

type: "TSTypeAliasDeclaration"
range: Range
declare: boolean
id: Identifier
typeParameters: TSTypeParameterDeclaration | undefined
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSTypeAnnotation

unstable

Properties

type: "TSTypeAnnotation"
range: Range
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSTypeAssertion

unstable

Properties

type: "TSTypeAssertion"
range: Range
expression: Expression
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSTypeLiteral

unstable

Properties

type: "TSTypeLiteral"
range: Range
members: Array<
TSCallSignatureDeclaration
| TSConstructSignatureDeclaration
| TSIndexSignature
| TSMethodSignature
| TSPropertySignature
>
parent: Node

interface Deno.lint.TSTypeOperator

unstable

Properties

type: "TSTypeOperator"
range: Range
operator:
"keyof"
| "readonly"
| "unique"
typeAnnotation: TypeNode
parent: Node

interface Deno.lint.TSTypeParameter

unstable

Properties

type: "TSTypeParameter"
range: Range
in: boolean
out: boolean
const: boolean
name: Identifier
constraint: TypeNode | null
default: TypeNode | null
parent:
TSInferType
| TSMappedType
| TSTypeParameterDeclaration

interface Deno.lint.TSTypeParameterDeclaration

unstable

Properties

type: "TSTypeParameterDeclaration"
range: Range
params: TSTypeParameter[]
parent: Node

interface Deno.lint.TSTypeParameterInstantiation

unstable

Properties

type: "TSTypeParameterInstantiation"
range: Range
params: TypeNode[]
parent:
ClassExpression
| NewExpression
| CallExpression
| TaggedTemplateExpression
| JSXOpeningElement
| TSClassImplements
| TSInstantiationExpression
| TSInterfaceHeritage
| TSTypeQuery
| TSTypeReference
| TSImportType

interface Deno.lint.TSTypePredicate

unstable

Properties

type: "TSTypePredicate"
range: Range
asserts: boolean
parameterName: Identifier | TSThisType
typeAnnotation: TSTypeAnnotation | undefined
parent: Node

interface Deno.lint.TSTypeQuery

unstable

Properties

type: "TSTypeQuery"
range: Range
exprName:
Identifier
| ThisExpression
| TSQualifiedName
| TSImportType
typeArguments: TSTypeParameterInstantiation | undefined
parent: Node

interface Deno.lint.TSTypeReference

unstable

Properties

type: "TSTypeReference"
range: Range
typeName:
Identifier
| ThisExpression
| TSQualifiedName
typeArguments: TSTypeParameterInstantiation | undefined
parent: Node

interface Deno.lint.TSUndefinedKeyword

unstable

Properties

type: "TSUndefinedKeyword"
range: Range
parent: Node

interface Deno.lint.TSUnionType

unstable

Properties

type: "TSUnionType"
range: Range
types: TypeNode[]
parent: Node

interface Deno.lint.TSUnknownKeyword

unstable

Properties

type: "TSUnknownKeyword"
range: Range
parent: Node

interface Deno.lint.TSVoidKeyword

unstable

Properties

type: "TSVoidKeyword"
range: Range
parent: Node

interface Deno.lint.UnaryExpression

unstable

Apply operand on value based on the specified operator.

Properties

type: "UnaryExpression"
range: Range
operator:
"!"
| "+"
| "~"
| "-"
| "delete"
| "typeof"
| "void"
argument: Expression
parent: Node

interface Deno.lint.UpdateExpression

unstable

Syntactic sugar to increment or decrement a value.

Properties

type: "UpdateExpression"
range: Range
prefix: boolean
operator: "++" | "--"
argument: Expression
parent: Node

interface Deno.lint.VariableDeclaration

unstable

Variable declaration.

Properties

type: "VariableDeclaration"
range: Range
declare: boolean
kind:
"let"
| "var"
| "const"
| "await using"
| "using"
declarations: VariableDeclarator[]
parent: Node

interface Deno.lint.VariableDeclarator

unstable

A VariableDeclaration can declare multiple variables. This node represents a single declaration out of that.

Properties

type: "VariableDeclarator"
range: Range
id:
ArrayPattern
| ObjectPattern
| Identifier
init: Expression | null
definite: boolean
parent: VariableDeclaration

interface Deno.lint.WhileStatement

unstable

Run a loop while the test expression is truthy.

Properties

type: "WhileStatement"
range: Range
test: Expression
body: Statement
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

interface Deno.lint.YieldExpression

unstable

Pause or resume a generator function.

Properties

type: "YieldExpression"
range: Range
delegate: boolean
argument: Expression | null
parent: Node

interface Deno.lint.WithStatement

unstable

Legacy JavaScript feature, that's discouraged from being used today.

Properties

type: "WithStatement"
range: Range
object: Expression
body: Statement
parent:
Program
| StaticBlock
| BlockStatement
| WithStatement
| LabeledStatement
| IfStatement
| SwitchCase
| WhileStatement
| DoWhileStatement
| ForStatement
| ForInStatement
| ForOfStatement
| TSModuleBlock

namespace Deno.lint

unstable

Functions

Deno.lint.runPlugin

This API is useful for testing lint plugins.

Interfaces

Deno.lint.AccessorProperty
No documentation available
  • accessibility
  • computed
  • declare
  • decorators
  • key
  • optional
  • override
  • parent
  • range
  • readonly
  • static
  • type
  • value
Deno.lint.ArrayExpression

An array literal

  • elements
  • parent
  • range
  • type
Deno.lint.ArrayPattern

Destructure an array.

  • elements
  • optional
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.ArrowFunctionExpression

Arrow function expression

  • async
  • body
  • generator
  • id
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.AssignmentExpression

Updaate a variable or property.

  • left
  • operator
  • parent
  • range
  • right
  • type
Deno.lint.AssignmentPattern

Assign default values in parameters.

  • left
  • parent
  • range
  • right
  • type
Deno.lint.AwaitExpression

Await a Promise and get its fulfilled value.

  • argument
  • parent
  • range
  • type
Deno.lint.BigIntLiteral

Represents numbers that are too high or too low to be represented by the number type.

  • bigint
  • parent
  • range
  • raw
  • type
  • value
Deno.lint.BinaryExpression

Compare left and right value with the specifier operator.

  • left
  • operator
  • parent
  • range
  • right
  • type
Deno.lint.BlockComment

A potentially multi-line block comment

  • range
  • type
  • value
Deno.lint.BlockStatement
No documentation available
  • body
  • parent
  • range
  • type
Deno.lint.BooleanLiteral

Either true or false

  • parent
  • range
  • raw
  • type
  • value
Deno.lint.BreakStatement

Break any loop or labeled statement, example:

  • label
  • parent
  • range
  • type
Deno.lint.CallExpression

A function call.

  • arguments
  • callee
  • optional
  • parent
  • range
  • type
  • typeArguments
Deno.lint.CatchClause

The catch clause of a try/catch statement

  • body
  • param
  • parent
  • range
  • type
Deno.lint.ChainExpression

ChainExpression

  • expression
  • parent
  • range
  • type
Deno.lint.ClassBody

Represents the body of a class and contains all members

  • body
  • parent
  • range
  • type
Deno.lint.ClassDeclaration

Declares a class in the current scope

  • abstract
  • body
  • declare
  • id
  • implements
  • parent
  • range
  • superClass
  • type
Deno.lint.ClassExpression

Similar to ClassDeclaration but for declaring a class as an expression. The main difference is that the class name(=id) can be omitted.

  • abstract
  • body
  • declare
  • id
  • implements
  • parent
  • range
  • superClass
  • superTypeArguments
  • type
  • typeParameters
Deno.lint.ConditionalExpression

Inline if-statement.

  • alternate
  • consequent
  • parent
  • range
  • test
  • type
Deno.lint.ContinueStatement

Terminates the current loop and continues with the next iteration.

  • label
  • parent
  • range
  • type
Deno.lint.DebuggerStatement

The debugger; statement.

  • parent
  • range
  • type
Deno.lint.Decorator

Experimental: Decorators

  • expression
  • parent
  • range
  • type
Deno.lint.Diagnostic
No documentation available
  • fix
  • hint
  • id
  • message
  • range
Deno.lint.DoWhileStatement

Re-run loop for as long as test expression is truthy.

  • body
  • parent
  • range
  • test
  • type
Deno.lint.ExportAllDeclaration
No documentation available
  • attributes
  • exportKind
  • exported
  • parent
  • range
  • source
  • type
Deno.lint.ExportDefaultDeclaration
No documentation available
  • declaration
  • exportKind
  • parent
  • range
  • type
Deno.lint.ExportNamedDeclaration
No documentation available
  • attributes
  • declaration
  • exportKind
  • parent
  • range
  • source
  • specifiers
  • type
Deno.lint.ExportSpecifier
No documentation available
  • exportKind
  • exported
  • local
  • parent
  • range
  • type
Deno.lint.ExpressionStatement

Statement that holds an expression.

  • expression
  • parent
  • range
  • type
Deno.lint.Fix
No documentation available
  • range
  • text
Deno.lint.Fixer
No documentation available
  • insertTextAfter
  • insertTextAfterRange
  • insertTextBefore
  • insertTextBeforeRange
  • remove
  • removeRange
  • replaceText
  • replaceTextRange
Deno.lint.ForInStatement

Enumerate over all enumerable string properties of an object.

  • body
  • left
  • parent
  • range
  • right
  • type
Deno.lint.ForOfStatement

Iterate over sequence of values from an iterator.

  • await
  • body
  • left
  • parent
  • range
  • right
  • type
Deno.lint.ForStatement

Classic for-loop.

  • body
  • init
  • parent
  • range
  • test
  • type
  • update
Deno.lint.FunctionDeclaration

Declares a function in the current scope

  • async
  • body
  • declare
  • generator
  • id
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.FunctionExpression

Declare a function as an expression. Similar to FunctionDeclaration, with an optional name (=id).

  • async
  • body
  • generator
  • id
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.Identifier

Custom named node by the developer. Can be a variable name, a function name, parameter, etc.

  • name
  • optional
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.IfStatement

Execute a statement the test passes, otherwise the alternate statement, if it was defined.

  • alternate
  • consequent
  • parent
  • range
  • test
  • type
Deno.lint.ImportAttribute
No documentation available
  • key
  • parent
  • range
  • type
  • value
Deno.lint.ImportDeclaration

An import declaration, examples:

  • attributes
  • importKind
  • parent
  • range
  • source
  • specifiers
  • type
Deno.lint.ImportDefaultSpecifier
No documentation available
  • local
  • parent
  • range
  • type
Deno.lint.ImportExpression

Dynamically import a module.

  • options
  • parent
  • range
  • source
  • type
Deno.lint.ImportNamespaceSpecifier
No documentation available
  • local
  • parent
  • range
  • type
Deno.lint.ImportSpecifier
No documentation available
  • importKind
  • imported
  • local
  • parent
  • range
  • type
Deno.lint.JSXAttribute

A JSX attribute

  • name
  • parent
  • range
  • type
  • value
Deno.lint.JSXClosingElement

The closing tag of a JSXElement. Only used when the element is not self-closing.

  • name
  • parent
  • range
  • type
Deno.lint.JSXClosingFragment

The closing tag of a JSXFragment.

  • parent
  • range
  • type
Deno.lint.JSXElement

A JSX element.

  • children
  • closingElement
  • openingElement
  • parent
  • range
  • type
Deno.lint.JSXEmptyExpression

Empty JSX expression.

  • parent
  • range
  • type
Deno.lint.JSXExpressionContainer

Inserts a normal JS expression into JSX.

  • expression
  • parent
  • range
  • type
Deno.lint.JSXFragment

Usually a passthrough node to pass multiple sibling elements as the JSX syntax requires one root element.

  • children
  • closingFragment
  • openingFragment
  • parent
  • range
  • type
Deno.lint.JSXIdentifier

User named identifier inside JSX.

  • name
  • parent
  • range
  • type
Deno.lint.JSXMemberExpression

JSX member expression.

  • object
  • parent
  • property
  • range
  • type
Deno.lint.JSXNamespacedName

Namespaced name in JSX

  • name
  • namespace
  • parent
  • range
  • type
Deno.lint.JSXOpeningElement

The opening tag of a JSXElement

  • attributes
  • name
  • parent
  • range
  • selfClosing
  • type
  • typeArguments
Deno.lint.JSXOpeningFragment

The opening tag of a JSXFragment.

  • parent
  • range
  • type
Deno.lint.JSXSpreadAttribute

Spreads an object as JSX attributes.

  • argument
  • parent
  • range
  • type
Deno.lint.JSXText

Plain text in JSX.

  • parent
  • range
  • raw
  • type
  • value
Deno.lint.LabeledStatement

Custom control flow based on labels.

  • body
  • label
  • parent
  • range
  • type
Deno.lint.LineComment

A single line comment

  • range
  • type
  • value
Deno.lint.LogicalExpression

Chain expressions based on the operator specified

  • left
  • operator
  • parent
  • range
  • right
  • type
Deno.lint.MemberExpression

MemberExpression

  • computed
  • object
  • optional
  • parent
  • property
  • range
  • type
Deno.lint.MetaProperty

Can either be import.meta or new.target.

  • meta
  • parent
  • property
  • range
  • type
Deno.lint.MethodDefinition
No documentation available
  • accessibility
  • computed
  • declare
  • decorators
  • key
  • kind
  • optional
  • override
  • parent
  • range
  • readonly
  • static
  • type
  • value
Deno.lint.NewExpression

Create a new instance of a class.

  • arguments
  • callee
  • parent
  • range
  • type
  • typeArguments
Deno.lint.NullLiteral

The null literal

  • parent
  • range
  • raw
  • type
  • value
Deno.lint.NumberLiteral

A number literal

  • parent
  • range
  • raw
  • type
  • value
Deno.lint.ObjectExpression

An object literal.

  • parent
  • properties
  • range
  • type
Deno.lint.ObjectPattern

Destructure an object.

  • optional
  • parent
  • properties
  • range
  • type
  • typeAnnotation
Deno.lint.Plugin

In your plugins file do something like

  • name
  • rules
Deno.lint.PrivateIdentifier

Private members inside of classes, must start with #.

  • name
  • parent
  • range
  • type
Deno.lint.Program
No documentation available
  • body
  • comments
  • range
  • sourceType
  • type
Deno.lint.Property
No documentation available
  • computed
  • key
  • kind
  • method
  • parent
  • range
  • shorthand
  • type
  • value
Deno.lint.PropertyDefinition
No documentation available
  • accessibility
  • computed
  • declare
  • decorators
  • key
  • optional
  • override
  • parent
  • range
  • readonly
  • static
  • type
  • typeAnnotation
  • value
Deno.lint.RegExpLiteral

A regex literal:

  • parent
  • range
  • raw
  • regex
  • type
  • value
Deno.lint.ReportData
No documentation available
  • fix
  • hint
  • message
  • node
  • range
Deno.lint.RestElement

The rest of function parameters.

  • argument
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.ReturnStatement

Returns a value from a function.

  • argument
  • parent
  • range
  • type
Deno.lint.Rule
No documentation available
  • create
  • destroy
Deno.lint.RuleContext
No documentation available
  • filename
  • getFilename
  • getSourceCode
  • id
  • report
  • sourceCode
Deno.lint.SequenceExpression

Execute multiple expressions in sequence.

  • expressions
  • parent
  • range
  • type
Deno.lint.SourceCode
No documentation available
  • ast
  • getAllComments
  • getAncestors
  • getCommentsAfter
  • getCommentsBefore
  • getCommentsInside
  • getText
  • text
Deno.lint.SpreadElement
No documentation available
  • argument
  • parent
  • range
  • type
Deno.lint.StaticBlock

Static class initializiation block.

  • body
  • parent
  • range
  • type
Deno.lint.StringLiteral

A string literal

  • parent
  • range
  • raw
  • type
  • value
Deno.lint.Super

The super keyword used in classes.

  • parent
  • range
  • type
Deno.lint.SwitchCase

A single case of a SwitchStatement.

  • consequent
  • parent
  • range
  • test
  • type
Deno.lint.SwitchStatement

Match an expression against a series of cases.

  • cases
  • discriminant
  • parent
  • range
  • type
Deno.lint.TaggedTemplateExpression

Tagged template expression.

  • parent
  • quasi
  • range
  • tag
  • type
  • typeArguments
Deno.lint.TemplateElement

The static portion of a template literal.

  • cooked
  • parent
  • range
  • raw
  • tail
  • type
Deno.lint.TemplateLiteral

A template literal string.

  • expressions
  • parent
  • quasis
  • range
  • type
Deno.lint.ThisExpression

The this keyword used in classes.

  • parent
  • range
  • type
Deno.lint.ThrowStatement

Throw a user defined exception. Stops execution of the current function.

  • argument
  • parent
  • range
  • type
Deno.lint.TryStatement

Try/catch statement

  • block
  • finalizer
  • handler
  • parent
  • range
  • type
Deno.lint.TSAbstractMethodDefinition
No documentation available
  • accessibility
  • computed
  • key
  • kind
  • optional
  • override
  • parent
  • range
  • static
  • type
  • value
Deno.lint.TSAbstractPropertyDefinition
No documentation available
  • accessibility
  • computed
  • declare
  • decorators
  • definite
  • key
  • optional
  • override
  • parent
  • range
  • readonly
  • static
  • type
  • typeAnnotation
  • value
Deno.lint.TSAnyKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSArrayType
No documentation available
  • elementType
  • parent
  • range
  • type
Deno.lint.TSAsExpression
No documentation available
  • expression
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSBigIntKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSBooleanKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSCallSignatureDeclaration
No documentation available
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.TSClassImplements
No documentation available
  • expression
  • parent
  • range
  • type
  • typeArguments
Deno.lint.TSConditionalType
No documentation available
  • checkType
  • extendsType
  • falseType
  • parent
  • range
  • trueType
  • type
Deno.lint.TSConstructSignatureDeclaration
No documentation available
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.TSDeclareFunction
No documentation available
  • async
  • body
  • declare
  • generator
  • id
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.TSEmptyBodyFunctionExpression
No documentation available
  • async
  • body
  • declare
  • expression
  • generator
  • id
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.TSEnumBody

The body of a TSEnumDeclaration

  • members
  • parent
  • range
  • type
Deno.lint.TSEnumDeclaration
No documentation available
  • body
  • const
  • declare
  • id
  • parent
  • range
  • type
Deno.lint.TSEnumMember

A member of a TSEnumDeclaration

  • id
  • initializer
  • parent
  • range
  • type
Deno.lint.TSExportAssignment
No documentation available
  • expression
  • parent
  • range
  • type
Deno.lint.TSExternalModuleReference
No documentation available
  • expression
  • parent
  • range
  • type
Deno.lint.TSFunctionType
No documentation available
  • params
  • parent
  • range
  • returnType
  • type
  • typeParameters
Deno.lint.TSImportEqualsDeclaration
No documentation available
  • id
  • importKind
  • moduleReference
  • parent
  • range
  • type
Deno.lint.TSImportType
No documentation available
  • argument
  • parent
  • qualifier
  • range
  • type
  • typeArguments
Deno.lint.TSIndexedAccessType
No documentation available
  • indexType
  • objectType
  • parent
  • range
  • type
Deno.lint.TSIndexSignature
No documentation available
  • parameters
  • parent
  • range
  • readonly
  • static
  • type
  • typeAnnotation
Deno.lint.TSInferType
No documentation available
  • parent
  • range
  • type
  • typeParameter
Deno.lint.TSInstantiationExpression
No documentation available
  • expression
  • parent
  • range
  • type
  • typeArguments
Deno.lint.TSInterfaceBody
No documentation available
  • body
  • parent
  • range
  • type
Deno.lint.TSInterfaceDeclaration
No documentation available
  • body
  • declare
  • extends
  • id
  • parent
  • range
  • type
  • typeParameters
Deno.lint.TSInterfaceHeritage
No documentation available
  • expression
  • parent
  • range
  • type
  • typeArguments
Deno.lint.TSIntersectionType
No documentation available
  • parent
  • range
  • type
  • types
Deno.lint.TSIntrinsicKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSLiteralType
No documentation available
  • literal
  • parent
  • range
  • type
Deno.lint.TSMappedType
No documentation available
  • constraint
  • key
  • nameType
  • optional
  • parent
  • range
  • readonly
  • type
  • typeAnnotation
Deno.lint.TSMethodSignature
No documentation available
  • computed
  • key
  • kind
  • optional
  • params
  • parent
  • range
  • readonly
  • returnType
  • static
  • type
  • typeParameters
Deno.lint.TSModuleBlock

Body of a TSModuleDeclaration

  • body
  • parent
  • range
  • type
Deno.lint.TSModuleDeclaration
No documentation available
  • body
  • declare
  • id
  • kind
  • parent
  • range
  • type
Deno.lint.TSNamedTupleMember
No documentation available
  • elementType
  • label
  • optional
  • parent
  • range
  • type
Deno.lint.TSNamespaceExportDeclaration
No documentation available
  • id
  • parent
  • range
  • type
Deno.lint.TSNeverKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSNonNullExpression
No documentation available
  • expression
  • parent
  • range
  • type
Deno.lint.TSNullKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSNumberKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSObjectKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSOptionalType
No documentation available
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSParameterProperty
No documentation available
  • accessibility
  • decorators
  • override
  • parameter
  • parent
  • range
  • readonly
  • static
  • type
Deno.lint.TSPropertySignature
No documentation available
  • computed
  • key
  • optional
  • parent
  • range
  • readonly
  • static
  • type
  • typeAnnotation
Deno.lint.TSQualifiedName
No documentation available
  • left
  • parent
  • range
  • right
  • type
Deno.lint.TSRestType
No documentation available
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSSatisfiesExpression
No documentation available
  • expression
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSStringKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSSymbolKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSTemplateLiteralType
No documentation available
  • parent
  • quasis
  • range
  • type
  • types
Deno.lint.TSThisType
No documentation available
  • parent
  • range
  • type
Deno.lint.TSTupleType
No documentation available
  • elementTypes
  • parent
  • range
  • type
Deno.lint.TSTypeAliasDeclaration
No documentation available
  • declare
  • id
  • parent
  • range
  • type
  • typeAnnotation
  • typeParameters
Deno.lint.TSTypeAnnotation
No documentation available
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSTypeAssertion
No documentation available
  • expression
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSTypeLiteral
No documentation available
  • members
  • parent
  • range
  • type
Deno.lint.TSTypeOperator
No documentation available
  • operator
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSTypeParameter
No documentation available
  • const
  • constraint
  • default
  • in
  • name
  • out
  • parent
  • range
  • type
Deno.lint.TSTypeParameterDeclaration
No documentation available
  • params
  • parent
  • range
  • type
Deno.lint.TSTypeParameterInstantiation
No documentation available
  • params
  • parent
  • range
  • type
Deno.lint.TSTypePredicate
No documentation available
  • asserts
  • parameterName
  • parent
  • range
  • type
  • typeAnnotation
Deno.lint.TSTypeQuery
No documentation available
  • exprName
  • parent
  • range
  • type
  • typeArguments
Deno.lint.TSTypeReference
No documentation available
  • parent
  • range
  • type
  • typeArguments
  • typeName
Deno.lint.TSUndefinedKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSUnionType
No documentation available
  • parent
  • range
  • type
  • types
Deno.lint.TSUnknownKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.TSVoidKeyword
No documentation available
  • parent
  • range
  • type
Deno.lint.UnaryExpression

Apply operand on value based on the specified operator.

  • argument
  • operator
  • parent
  • range
  • type
Deno.lint.UpdateExpression

Syntactic sugar to increment or decrement a value.

  • argument
  • operator
  • parent
  • prefix
  • range
  • type
Deno.lint.VariableDeclaration

Variable declaration.

  • declarations
  • declare
  • kind
  • parent
  • range
  • type
Deno.lint.VariableDeclarator

A VariableDeclaration can declare multiple variables. This node represents a single declaration out of that.

  • definite
  • id
  • init
  • parent
  • range
  • type
Deno.lint.WhileStatement

Run a loop while the test expression is truthy.

  • body
  • parent
  • range
  • test
  • type
Deno.lint.YieldExpression

Pause or resume a generator function.

  • argument
  • delegate
  • parent
  • range
  • type
Deno.lint.WithStatement

Legacy JavaScript feature, that's discouraged from being used today.

  • body
  • object
  • parent
  • range
  • type

Type Aliases

Deno.lint.Accessibility

TypeScript accessibility modifiers used in classes

Deno.lint.Expression

Union type of all possible expression nodes

Deno.lint.JSXChild

Union type of all possible child nodes in JSX

Deno.lint.LintVisitor
No documentation available
Deno.lint.Literal

Union type of all Literals

Deno.lint.Node

Union type of all possible AST nodes

Deno.lint.Parameter

Function/Method parameter

Deno.lint.Range
No documentation available
Deno.lint.Statement

Union type of all possible statement nodes

Deno.lint.TypeNode

Union type of all possible type nodes in TypeScript


type alias Deno.lint.Accessibility

unstable

TypeScript accessibility modifiers used in classes

Definition

"private"
| "protected"
| "public"

type alias Deno.lint.Expression

unstable

Union type of all possible expression nodes

Definition

ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| AssignmentExpression
| AwaitExpression
| BinaryExpression
| CallExpression
| ChainExpression
| ClassExpression
| ConditionalExpression
| FunctionExpression
| Identifier
| ImportExpression
| JSXElement
| JSXFragment
| Literal
| TemplateLiteral
| LogicalExpression
| MemberExpression
| MetaProperty
| NewExpression
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| TemplateLiteral
| ThisExpression
| TSAsExpression
| TSInstantiationExpression
| TSNonNullExpression
| TSSatisfiesExpression
| TSTypeAssertion
| UnaryExpression
| UpdateExpression
| YieldExpression

type alias Deno.lint.JSXChild

unstable

Union type of all possible child nodes in JSX

Definition

JSXElement
| JSXExpressionContainer
| JSXFragment
| JSXText

type alias Deno.lint.LintVisitor

unstable

Definition

[P in Node["type"]]?: (node: Extract<Node, { type: P; }>) => void
& [P in Node["type"] in keyof `${P}:exit`]?: (node: Extract<Node, { type: P; }>) => void
& Partial<{ [key: string]: (node: any) => void; }>

type alias Deno.lint.Literal

unstable

Union type of all Literals

Definition

BigIntLiteral
| BooleanLiteral
| NullLiteral
| NumberLiteral
| RegExpLiteral
| StringLiteral

type alias Deno.lint.Node

unstable

Union type of all possible AST nodes

Definition

Program
| Expression
| Statement
| TypeNode
| ImportSpecifier
| ImportDefaultSpecifier
| ImportNamespaceSpecifier
| ImportAttribute
| TSExternalModuleReference
| ExportSpecifier
| VariableDeclarator
| Decorator
| ClassBody
| StaticBlock
| PropertyDefinition
| MethodDefinition
| SwitchCase
| CatchClause
| TemplateElement
| PrivateIdentifier
| AssignmentPattern
| RestElement
| SpreadElement
| Property
| JSXIdentifier
| JSXNamespacedName
| JSXEmptyExpression
| JSXOpeningElement
| JSXAttribute
| JSXSpreadAttribute
| JSXClosingElement
| JSXOpeningFragment
| JSXClosingFragment
| JSXExpressionContainer
| JSXText
| JSXMemberExpression
| TSModuleBlock
| TSClassImplements
| TSAbstractMethodDefinition
| TSAbstractPropertyDefinition
| TSEmptyBodyFunctionExpression
| TSCallSignatureDeclaration
| TSPropertySignature
| TSEnumBody
| TSEnumMember
| TSTypeParameterInstantiation
| TSInterfaceBody
| TSConstructSignatureDeclaration
| TSMethodSignature
| TSInterfaceHeritage
| TSIndexSignature
| TSTypeAnnotation
| TSTypeParameterDeclaration
| TSTypeParameter
| LineComment
| BlockComment

type alias Deno.lint.Parameter

unstable

Function/Method parameter

Definition

ArrayPattern
| AssignmentPattern
| Identifier
| ObjectPattern
| RestElement
| TSParameterProperty

type alias Deno.lint.Range

unstable

Definition

[number, number]

type alias Deno.lint.Statement

unstable

Union type of all possible statement nodes

Definition

BlockStatement
| BreakStatement
| ClassDeclaration
| ContinueStatement
| DebuggerStatement
| DoWhileStatement
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ExpressionStatement
| ForInStatement
| ForOfStatement
| ForStatement
| FunctionDeclaration
| IfStatement
| ImportDeclaration
| LabeledStatement
| ReturnStatement
| SwitchStatement
| ThrowStatement
| TryStatement
| TSDeclareFunction
| TSEnumDeclaration
| TSExportAssignment
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSNamespaceExportDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration
| WhileStatement
| WithStatement

type alias Deno.lint.TypeNode

unstable

Union type of all possible type nodes in TypeScript

Definition

TSAnyKeyword
| TSArrayType
| TSBigIntKeyword
| TSBooleanKeyword
| TSConditionalType
| TSFunctionType
| TSImportType
| TSIndexedAccessType
| TSInferType
| TSIntersectionType
| TSIntrinsicKeyword
| TSLiteralType
| TSMappedType
| TSNamedTupleMember
| TSNeverKeyword
| TSNullKeyword
| TSNumberKeyword
| TSObjectKeyword
| TSOptionalType
| TSQualifiedName
| TSRestType
| TSStringKeyword
| TSSymbolKeyword
| TSTemplateLiteralType
| TSThisType
| TSTupleType
| TSTypeLiteral
| TSTypeOperator
| TSTypePredicate
| TSTypeQuery
| TSTypeReference
| TSUndefinedKeyword
| TSUnionType
| TSUnknownKeyword
| TSVoidKeyword

© 2018–2025 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/api/deno/linter

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API