fix(lib/types): errors in ReactNative.AssetsRegistry methods

This commit is contained in:
PalmDevs 2025-04-29 18:36:47 +07:00
parent 7a7f470ff4
commit 00b45b9487
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA

View file

@ -1,7 +1,7 @@
// All of these typings are exported, be careful what you export here!
import type { Metro } from '@revenge-mod/modules/types'
import type { Buffer as _Buffer } from 'buffer'
import type { Metro } from '@revenge-mod/modules/types/metro'
import type { ErrorUtils as RNErrorUtils } from 'react-native'
/// HERMES
@ -111,7 +111,7 @@ export namespace ReactNative {
}
export interface AssetsRegistry {
registerAsset(asset: PackagerAsset): number
getAssetByID(assetId: number): PackagerAsset
registerAsset(asset: AssetsRegistry.PackagerAsset): number
getAssetByID(assetId: number): AssetsRegistry.PackagerAsset
}
}