Skip to content

Commit

Permalink
fix: create a deprecated type acting as an alias
Browse files Browse the repository at this point in the history
  • Loading branch information
anninowak committed Oct 16, 2024
1 parent 4e652a1 commit 850bfa8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/integration-interface/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export * from './lib/topics/permissions-rpc/v1/permissions-rpc.model'

export * from './lib/topics/events/v1/events-topic'
export * from './lib/topics/events/v1/topic-event-type'
export * from './lib/topics/events/v1/payload-navigated-event'
export * from './lib/topics/events/v1/navigated-event-payload'
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export type NavigatedEventPayload = {
url: string | undefined
isFirst: boolean
history: string[]
}

/**
* @deprecated Replace with NavigatedEventPayload
*/
export type PayloadNavigatedEvent = NavigatedEventPayload

This file was deleted.

0 comments on commit 850bfa8

Please sign in to comment.