@nolikein/types-livewire3 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCE +0 -0
- package/README.md +0 -0
- package/dist/Alpine.d.ts +0 -0
- package/dist/AlpineWired.d.ts +0 -0
- package/dist/Livewire.d.ts +2 -2
- package/dist/index.d.ts +0 -0
- package/package.json +1 -1
package/LICENCE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/dist/Alpine.d.ts
CHANGED
|
File without changes
|
package/dist/AlpineWired.d.ts
CHANGED
|
File without changes
|
package/dist/Livewire.d.ts
CHANGED
|
@@ -415,7 +415,7 @@ export interface LivewireMagics<LivewireData, LivewireMethods> {
|
|
|
415
415
|
* @param name
|
|
416
416
|
* @param live false by default
|
|
417
417
|
*/
|
|
418
|
-
$entangle(name: string, live?: boolean): EntangleInstance;
|
|
418
|
+
$entangle(name: string & keyof LivewireData, live?: boolean): EntangleInstance;
|
|
419
419
|
/**
|
|
420
420
|
* Watch the value of a property for changes...
|
|
421
421
|
* Usage: Alpine.$watch('count', (value, old) => { ... })
|
|
@@ -423,7 +423,7 @@ export interface LivewireMagics<LivewireData, LivewireMethods> {
|
|
|
423
423
|
* @param name
|
|
424
424
|
* @param callback
|
|
425
425
|
*/
|
|
426
|
-
$watch(name: string, callback: (value: unknown, old: unknown) => void): Promise<unknown>;
|
|
426
|
+
$watch(name: string & keyof LivewireData, callback: (value: unknown, old: unknown) => void): Promise<unknown>;
|
|
427
427
|
/**
|
|
428
428
|
* Refresh a component by sending a commit to the server
|
|
429
429
|
* to re-render the HTML and swap it into the page...
|
package/dist/index.d.ts
CHANGED
|
File without changes
|