Skip to content

Typescript Types

Typescript Types modules are used for type-checking throughout VueVentus components and modules.

BaseFunction

Import

javascript
import type { BaseFunction } from '@obewds/vueventus'

Module Code

ts
// ./src/types/BaseFunction.ts

export type BaseFunction = () => string

MonthNamesTypesArray

Import

javascript
import type { MonthNamesTypesArray } from '@obewds/vueventus'

Module Code

ts
// ./src/types/MonthNamesTypesArray.ts

export type MonthNamesTypesArray = [string, string, string, string, string, string, string, string, string, string, string, string ]

ReturnsClassesFunction

Import

javascript
import type { ReturnsClassesFunction } from '@obewds/vueventus'

Module Code

ts
// ./src/types/ReturnsClassesFunction.ts

export type ReturnsClassesFunction = ( string?: string ) => string

ReturnsNumberFunction

Import

javascript
import type { ReturnsNumberFunction } from '@obewds/vueventus'

Module Code

ts
// ./src/types/ReturnsNumberFunction.ts

export type ReturnsNumberFunction = ( string?: string ) => number

TransitionsClasses

Import

javascript
import type { TransitionsClasses } from '@obewds/vueventus'

Module Code

ts
// ./src/types/TransitionsClasses.ts

export type TransitionsClasses = ( transitionsKey?: string, easingsKey?: string, durationsKey?: string ) => string

TransitionsCustom

Import

javascript
import type { TransitionsCustom } from '@obewds/vueventus'

Module Code

ts
// ./src/types/TransitionsCustom.ts

import type { TransitionsCustomOptions } from '../types/TransitionsCustomOptions'

export type TransitionsCustom = ( settings: TransitionsCustomOptions ) => string

Released under the MIT License