main.ts — vite Source File
Architecture documentation for main.ts, a typescript file in the vite codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 4827e7f9_35a8_ccab_0a3c_21bd01c96e7d["main.ts"] 16d84c37_f9e5_03e3_506d_05094cbd5caf["not-used-type.ts"] 4827e7f9_35a8_ccab_0a3c_21bd01c96e7d --> 16d84c37_f9e5_03e3_506d_05094cbd5caf 8f990d5c_6b27_7b41_3db4_2da096816277["NestedWithExtendsTypeOnlyClass"] 4827e7f9_35a8_ccab_0a3c_21bd01c96e7d --> 8f990d5c_6b27_7b41_3db4_2da096816277 73ffa596_89b7_fc2c_4f84_f945fe3a4b66["main.ts"] 73ffa596_89b7_fc2c_4f84_f945fe3a4b66 --> 4827e7f9_35a8_ccab_0a3c_21bd01c96e7d style 4827e7f9_35a8_ccab_0a3c_21bd01c96e7d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
// @ts-nocheck
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
import { NestedWithExtendsTypeOnlyClass } from './not-used-type'
class NestedWithExtendsBase {
set data(value: string) {
console.log('data setter in NestedWithExtendsBase')
}
}
class NestedWithExtendsDerived extends NestedWithExtendsBase {
// No longer triggers a 'console.log'
// when using 'useDefineForClassFields'.
data = 10
foo?: NestedWithExtendsTypeOnlyClass
}
const d = new NestedWithExtendsDerived()
Domain
Subdomains
Dependencies
Imported By
Source
Frequently Asked Questions
What does main.ts do?
main.ts is a source file in the vite codebase, written in typescript. It belongs to the ViteCore domain, ConfigEngine subdomain.
What does main.ts depend on?
main.ts imports 2 module(s): NestedWithExtendsTypeOnlyClass, not-used-type.ts.
What files import main.ts?
main.ts is imported by 1 file(s): main.ts.
Where is main.ts in the architecture?
main.ts is located at playground/tsconfig-json/nested-with-extends/main.ts (domain: ViteCore, subdomain: ConfigEngine, directory: playground/tsconfig-json/nested-with-extends).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free