-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade lunatic/lunatic-dsfr and type ajustment
- Loading branch information
Showing
6 changed files
with
48 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { useLunatic } from '@inseefr/lunatic' | ||
|
||
export type LunaticGetReferentiel = Parameters< | ||
typeof useLunatic | ||
>[2]['getReferentiel'] | ||
|
||
export type Nomenclature = Awaited< | ||
ReturnType<NonNullable<LunaticGetReferentiel>> | ||
> | ||
|
||
export type LunaticGoToPage = ReturnType<typeof useLunatic>['goToPage'] | ||
|
||
export type LunaticGoPreviousPage = ReturnType< | ||
typeof useLunatic | ||
>['goPreviousPage'] | ||
export type LunaticGoNextPage = ReturnType<typeof useLunatic>['goNextPage'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.