Home / File/ types.ts — astro Source File

types.ts — astro Source File

Architecture documentation for types.ts, a typescript file in the astro codebase.

Entity Profile

Relationship Graph

Source Code

export type Fallback = 'none' | 'animate' | 'swap';
export type Direction = 'forward' | 'back';
export type NavigationTypeString = 'push' | 'replace' | 'traverse';
export type Options = {
	history?: 'auto' | 'push' | 'replace';
	info?: any;
	state?: any;
	formData?: FormData;
	sourceElement?: Element; // more than HTMLElement, e.g. SVGAElement
};

Frequently Asked Questions

What does types.ts do?
types.ts is a source file in the astro codebase, written in typescript.
Where is types.ts in the architecture?
types.ts is located at packages/astro/src/transitions/types.ts (directory: packages/astro/src/transitions).

Analyze Your Own Codebase

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

Try Supermodel Free