Home / File/ index.d.ts — vue Source File

index.d.ts — vue Source File

Architecture documentation for index.d.ts, a typescript file in the vue codebase. 1 imports, 0 dependents.

File typescript VueCore VDom 1 imports 4 functions

Entity Profile

Dependency Diagram

graph LR
  8aab0d1d_0ff3_3213_06b3_683bf6334b32["index.d.ts"]
  db9e7bef_009d_3918_6e7d_543a36a38d75["vue"]
  8aab0d1d_0ff3_3213_06b3_683bf6334b32 --> db9e7bef_009d_3918_6e7d_543a36a38d75
  style 8aab0d1d_0ff3_3213_06b3_683bf6334b32 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { VNode } from 'vue'

/*
 * Template compilation options / results
 */
interface CompilerOptions {
  modules?: ModuleOptions[]
  directives?: Record<string, DirectiveFunction>
  preserveWhitespace?: boolean
  whitespace?: 'preserve' | 'condense'
  outputSourceRange?: any
}

interface CompilerOptionsWithSourceRange extends CompilerOptions {
  outputSourceRange: true
}

interface ErrorWithRange {
  msg: string
  start: number
  end: number
}

interface CompiledResult<ErrorType> {
  ast: ASTElement | undefined
  render: string
  staticRenderFns: string[]
  errors: ErrorType[]
  tips: ErrorType[]
}

interface CompiledResultFunctions {
  render: () => VNode
  staticRenderFns: (() => VNode)[]
}

interface ModuleOptions {
  preTransformNode: (el: ASTElement) => ASTElement | undefined
  transformNode: (el: ASTElement) => ASTElement | undefined
  postTransformNode: (el: ASTElement) => void
  genData: (el: ASTElement) => string
  transformCode?: (el: ASTElement, code: string) => string
  staticKeys?: string[]
}

type DirectiveFunction = (node: ASTElement, directiveMeta: ASTDirective) => void

/*
 * AST Types
 */

/**
 * - 0: FALSE - whole sub tree un-optimizable
 * - 1: FULL - whole sub tree optimizable
 * - 2: SELF - self optimizable but has some un-optimizable children
 * - 3: CHILDREN - self un-optimizable but have fully optimizable children
 * - 4: PARTIAL - self un-optimizable with some un-optimizable children
 */
export type SSROptimizability = 0 | 1 | 2 | 3 | 4

// ... (188 more lines)

Domain

Subdomains

Dependencies

  • vue

Frequently Asked Questions

What does index.d.ts do?
index.d.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, VDom subdomain.
What functions are defined in index.d.ts?
index.d.ts defines 4 function(s): VNode, code, el, node.
What does index.d.ts depend on?
index.d.ts imports 1 module(s): vue.
Where is index.d.ts in the architecture?
index.d.ts is located at packages/template-compiler/types/index.d.ts (domain: VueCore, subdomain: VDom, directory: packages/template-compiler/types).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free