{"id":"howmanysmall/typed-promise","name":"typed-promise","scope":"howmanysmall","platform":"roblox","description":"Promises with types","version":"4.0.6","latest":"4.0.6","versions":["4.0.0-typed.0","4.0.0-types.0","4.0.3","4.0.5","4.0.6"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{"evaera/promise":{"version":"^4.0.0","alias":"Promise"}},"integrity":"e04be1e114f5418c9cd258a6c8f29a7e62aab19dad75555228245738b8f1e99c","likes":0,"downloads":4,"install":"forest install howmanysmall/typed-promise","url":"https://forest.dev/p/roblox/howmanysmall/typed-promise","files":"https://api.forest.dev/ai/package/roblox/howmanysmall/typed-promise/files","readme":"# RbxTypedPromise\n\nThis package wraps around [roblox-lua-promise](https://github.com/evaera/roblox-lua-promise) and\nadds types.\n\n## Installation\n\nYou can install this package on Wally.\n\n```toml\n[dependencies]\nPromise = \"lukadev-0/typed-promise@4.0.2\"\n```\n\n### wally-package-types\n\nTo use the types provided by the package, you must use the [wally-package-types](https://github.com/JohnnyMorganz/wally-package-types)\ntool after running `wally install`. You can install it using [Aftman](https://github.com/LPGHatGuy/aftman).\n\n## Types\n\nDue to certain limitations ([which might be loosened in the future](https://github.com/Roblox/luau/pull/86))\nthis package cannot provide full typings. Therefore, there are two types: `TypedPromise<T...>` and `Promise`.\n\nAny method of Promise that returns a Promise, such as `:andThen` or `:catch` will return the `Promise` type\nbecause of Luau limitations.\n\nThe constructors, like `Promise.new` or `Promise.try` are strictly typed and return a `TypedPromise<T...>`.\n\nMake sure you run [wally-package-types](#wally-package-types) in order to access the types!\n","readmeTruncated":false}