Skip to content

Commit

Permalink
chore: Release v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Namchee committed Sep 26, 2020
1 parent 19bd075 commit d188552
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export enum ExceptionLevel {
ERROR = 2,
}

export interface TetikusOptions {
export interface ConstructorOptions {
directiveName?: string;
transitionSpeed?: number;
easing?: string;
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import {
defaultEasingFunction,
defaultDelay,
} from './components/Tetikus/options';
import { TetikusOptions } from './common/types';
import { ConstructorOptions } from './common/types';
import { App } from 'vue';

export default {
install(
app: App,
{ directiveName, transitionSpeed, easing, delay }: TetikusOptions = {},
{ directiveName, transitionSpeed, easing, delay }: ConstructorOptions = {},
) {
app.component('Tetikus', Tetikus);
app.directive(directiveName || 'thover', TetikusHover);
Expand Down

0 comments on commit d188552

Please sign in to comment.