Skip to content

Commit ed7d112

Browse files
committed
fix: another try on implicit pusher import
1 parent fbc6fa4 commit ed7d112

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

playground/pusher.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module 'pusher-js/dist/web/pusher'

src/runtime/plugin.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Echo from 'laravel-echo'
2-
import Pusher from 'pusher-js'
2+
import Pusher from 'pusher-js/dist/web/pusher'
33
import type { Channel, Options, ChannelAuthorizationCallback } from 'pusher-js'
44
import type { ChannelAuthorizationData } from 'pusher-js/types/src/core/auth/options'
55
import { createConsola, type ConsolaInstance } from 'consola'

src/runtime/pusher.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module 'pusher-js/dist/web/pusher'

0 commit comments

Comments
 (0)