---
title: "vec2d: type in Runtime, TypeShade API reference"
description: "vec2d, a type in Runtime. vec2d, the short spelling of vec2f64, the same type."
url: https://typeshade.dev/api/vec2d/
language: en
---

# `vec2d`

Type in Runtime

`vec2d`, the short spelling of `vec2f64`, the same type.

`import type { vec2d } from 'typeshade/runtime'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
type vec2d = vec2f64;
```

## See also

- [`vec2f64`](https://typeshade.dev/api/vec2f64/)

## Source

[`src/runtime/host-types.ts`, line 96](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L96), at commit af54ddad5
