Just trying to fix things now
This commit is contained in:
Vendored
+6
@@ -57,6 +57,12 @@ interface AssetBatch {
|
||||
* Returns `undefined` if `index` is out of range or the batch is disposed.
|
||||
*/
|
||||
entry(index: number): AssetEntry | undefined;
|
||||
/**
|
||||
* Returns the first `AssetEntry` whose path matches, adding an
|
||||
* independent lock. Returns `undefined` if no entry matches.
|
||||
* The returned entry must be unlocked separately when no longer needed.
|
||||
*/
|
||||
getAssetByPath(path: string): AssetEntry | undefined;
|
||||
|
||||
/**
|
||||
* Fires once when every entry has loaded successfully.
|
||||
|
||||
Reference in New Issue
Block a user