Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
Fixing Stimulus LSP compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday committed Mar 23, 2024
1 parent c86cce0 commit 8f53ec1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.0.1] - 2024-03-23

### Chore

- Fixing [Stimulus LSP](https://github.com/marcoroth/stimulus-lsp) compatibility

## [5.0.0] - 2024-03-22

### Chore
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Controller } from "@hotwired/stimulus"
import { formatDistanceToNow, FormatDistanceToNowOptions, Locale } from "date-fns"

export default class extends Controller<HTMLTimeElement> {
export default class Timeago extends Controller<HTMLTimeElement> {
isValid: boolean
refreshTimer: number
locale: Pick<Locale, "formatDistance">
Expand Down

0 comments on commit 8f53ec1

Please sign in to comment.