add type to all Getx put/get/delete/isRegistered (#8550)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-06-30 21:24:18 +08:00 committed by GitHub
parent 15fa80fb26
commit 763174657b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 62 additions and 60 deletions

View file

@ -1428,7 +1428,7 @@ Future<void> initGlobalFFI() async {
_globalFFI = FFI(null);
debugPrint("_globalFFI init end");
// after `put`, can also be globally found by Get.find<FFI>();
Get.put(_globalFFI, permanent: true);
Get.put<FFI>(_globalFFI, permanent: true);
}
String translate(String name) {